Skip to content

Commit f53c2db

Browse files
authored
Merge pull request #17 from FalkorDB/staging
Staging
2 parents 5208658 + 7a55d72 commit f53c2db

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip" # See documentation for possible values
4+
directory: "/" # Location of package manifests
5+
schedule:
6+
interval: "daily"
7+
target-branch: "staging"

api/llm.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
import logging
23

34
from graphrag_sdk.models.openai import OpenAiGenerativeModel
@@ -201,6 +202,10 @@ def _create_kg_agent(repo_name: str):
201202
name=repo_name,
202203
ontology=ontology,
203204
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),
204209
)
205210

206211
return code_graph_kg.chat_session()

0 commit comments

Comments
 (0)