Skip to content

Staging #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
target-branch: "staging"
5 changes: 5 additions & 0 deletions api/llm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import logging

from graphrag_sdk.models.openai import OpenAiGenerativeModel
Expand Down Expand Up @@ -201,6 +202,10 @@ def _create_kg_agent(repo_name: str):
name=repo_name,
ontology=ontology,
model_config=KnowledgeGraphModelConfig.with_model(openapi_model),
host=os.getenv('FALKORDB_HOST', 'localhost'),
port=os.getenv('FALKORDB_PORT', 6379),
username=os.getenv('FALKORDB_USERNAME', None),
password=os.getenv('FALKORDB_PASSWORD', None),
)

return code_graph_kg.chat_session()
Expand Down