This commit is contained in:
ArnoChen
2025-02-09 22:22:44 +08:00
parent 7f407ce949
commit c1d7fbe02b
2 changed files with 2 additions and 2 deletions

View File

@@ -1413,7 +1413,7 @@ def create_app(args):
# query all graph
@app.get("/graphs")
async def get_graphs(label: str):
return await rag.get_graps(nodel_label=label, max_depth=100)
return await rag.get_graphs(nodel_label=label, max_depth=100)
# Add Ollama API routes
ollama_api = OllamaAPI(rag)