Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,12 +127,10 @@ QA_CHAIN_PROMPT_1 = PromptTemplate(input_variables=["context", "question"], temp
|
|
| 127 |
QA_CHAIN_PROMPT_2 = PromptTemplate(input_variables=["context", "question"], template=template2)
|
| 128 |
|
| 129 |
# Neo4j setup
|
| 130 |
-
graph = Neo4jGraph(
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
)
|
| 135 |
-
|
| 136 |
# Avoid pushing the graph documents to Neo4j every time
|
| 137 |
# Only push the documents once and comment the code below after the initial push
|
| 138 |
# dataset_name = "Pijush2023/birmindata07312024"
|
|
|
|
| 127 |
QA_CHAIN_PROMPT_2 = PromptTemplate(input_variables=["context", "question"], template=template2)
|
| 128 |
|
| 129 |
# Neo4j setup
|
| 130 |
+
graph = Neo4jGraph(url="neo4j+s://bcbd420c.databases.neo4j.io",
|
| 131 |
+
username="neo4j",
|
| 132 |
+
password="znKCoED1qIoYrkmZHqVY3sGWxmUvSdI8EqG5hRNlROI"
|
| 133 |
+
)
|
|
|
|
|
|
|
| 134 |
# Avoid pushing the graph documents to Neo4j every time
|
| 135 |
# Only push the documents once and comment the code below after the initial push
|
| 136 |
# dataset_name = "Pijush2023/birmindata07312024"
|