Spaces:
Build error
Build error
Hải Huỳnh
commited on
Commit
•
b89b33b
1
Parent(s):
055f156
Update utils.py
Browse files
utils.py
CHANGED
@@ -30,8 +30,8 @@ def init_():
|
|
30 |
)
|
31 |
|
32 |
# Connect to Neo4J Knowledge Graph
|
33 |
-
cypher_prompt = load_prompt("
|
34 |
-
qa_prompt = load_prompt("
|
35 |
|
36 |
CYPHER_GENERATION_PROMPT = PromptTemplate(**cypher_prompt)
|
37 |
QA_GENERATION_PROMPT = PromptTemplate(**qa_prompt)
|
|
|
30 |
)
|
31 |
|
32 |
# Connect to Neo4J Knowledge Graph
|
33 |
+
cypher_prompt = load_prompt("prompts/cypher_prompt.yaml")
|
34 |
+
qa_prompt = load_prompt("prompts/qa_prompt.yaml")
|
35 |
|
36 |
CYPHER_GENERATION_PROMPT = PromptTemplate(**cypher_prompt)
|
37 |
QA_GENERATION_PROMPT = PromptTemplate(**qa_prompt)
|