removed get_knowledge_graph

This commit is contained in:
Yannick Stephan
2025-02-19 22:57:46 +01:00
parent eb3306f34c
commit 89c35c82c7
11 changed files with 0 additions and 324 deletions

View File

@@ -1683,10 +1683,6 @@ def create_app(args):
raise HTTPException(status_code=500, detail=str(e))
# query all graph
@app.get("/graphs")
async def get_knowledge_graph(label: str):
return await rag.get_knowledge_graph(nodel_label=label, max_depth=100)
# Add Ollama API routes
ollama_api = OllamaAPI(rag, top_k=args.top_k)
app.include_router(ollama_api.router, prefix="/api")