Skip to content

Commit 00ae3a1

Browse files
committed
fix deps
1 parent 3cde808 commit 00ae3a1

File tree

4 files changed

+9
-19
lines changed

4 files changed

+9
-19
lines changed

api/llm.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
import logging
33

44
from graphrag_sdk.models.openai import OpenAiGenerativeModel
5-
#from graphrag_sdk.models.gemini import GeminiGenerativeModel
6-
from prompts import (CYPHER_GEN_SYSTEM,
7-
CYPHER_GEN_PROMPT,
8-
GRAPH_QA_SYSTEM,
9-
GRAPH_QA_PROMPT,
10-
)
115
from graphrag_sdk import (
126
Ontology,
137
Entity,
@@ -18,6 +12,14 @@
1812
KnowledgeGraphModelConfig
1913
)
2014

15+
#from graphrag_sdk.models.gemini import GeminiGenerativeModel
16+
from .prompts import (CYPHER_GEN_SYSTEM,
17+
CYPHER_GEN_PROMPT,
18+
GRAPH_QA_SYSTEM,
19+
GRAPH_QA_PROMPT,
20+
)
21+
22+
2123
# Configure logging
2224
logging.basicConfig(level=logging.DEBUG, format='%(filename)s - %(asctime)s - %(levelname)s - %(message)s')
2325

poetry.lock

Lines changed: 1 addition & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ tree-sitter-c = "^0.21.4"
1515
tree-sitter-python = "^0.21.0"
1616
flask = "^3.0.3"
1717
python-dotenv = "^1.0.1"
18-
prompts = "^0.0.1"
1918

2019
[tool.poetry.group.test.dependencies]
2120
pytest = "^8.2.0"

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ parso==0.8.4 ; python_version >= "3.9" and python_version < "4.0"
4444
pexpect==4.9.0 ; python_version >= "3.9" and python_version < "4.0" and sys_platform != "win32"
4545
platformdirs==4.3.6 ; python_version >= "3.9" and python_version < "4.0"
4646
prompt-toolkit==3.0.48 ; python_version >= "3.9" and python_version < "4.0"
47-
prompts==0.0.1 ; python_version >= "3.9" and python_version < "4.0"
4847
psutil==6.1.0 ; python_version >= "3.9" and python_version < "4.0"
4948
ptyprocess==0.7.0 ; python_version >= "3.9" and python_version < "4.0" and sys_platform != "win32"
5049
pure-eval==0.2.3 ; python_version >= "3.9" and python_version < "4.0"

0 commit comments

Comments
 (0)