We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8a217b commit 7a55d72Copy full SHA for 7a55d72
api/llm.py
@@ -1,3 +1,4 @@
1
+import os
2
import logging
3
4
from graphrag_sdk.models.openai import OpenAiGenerativeModel
@@ -201,6 +202,10 @@ def _create_kg_agent(repo_name: str):
201
202
name=repo_name,
203
ontology=ontology,
204
model_config=KnowledgeGraphModelConfig.with_model(openapi_model),
205
+ host=os.getenv('FALKORDB_HOST', 'localhost'),
206
+ port=os.getenv('FALKORDB_PORT', 6379),
207
+ username=os.getenv('FALKORDB_USERNAME', None),
208
+ password=os.getenv('FALKORDB_PASSWORD', None),
209
)
210
211
return code_graph_kg.chat_session()
0 commit comments