Skip to content

Commit 9c59793

Browse files
authored
Merge branch 'main' into gkorland-patch-2
2 parents 2fb4501 + b08cf6a commit 9c59793

File tree

3 files changed

+286
-242
lines changed

3 files changed

+286
-242
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

0 commit comments

Comments
 (0)