Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def structured_retriever(question: str) -> str:
|
|
114 |
result += "\n".join([el['output'] for el in response])
|
115 |
return result
|
116 |
|
117 |
-
def
|
118 |
print(f"Search query: {question}")
|
119 |
structured_data = structured_retriever(question)
|
120 |
unstructured_data = [el.page_content for el in vector_index.similarity_search(question)]
|
|
|
114 |
result += "\n".join([el['output'] for el in response])
|
115 |
return result
|
116 |
|
117 |
+
def retriever_neo4j(question: str):
|
118 |
print(f"Search query: {question}")
|
119 |
structured_data = structured_retriever(question)
|
120 |
unstructured_data = [el.page_content for el in vector_index.similarity_search(question)]
|