Neo4j Advanced RAG template (#12794)

Todo:

- [x] Docs
This commit is contained in:
Tomaz Bratanic
2023-11-03 21:22:55 +01:00
committed by GitHub
parent 83cee2cec4
commit 0dbdb8498a
10 changed files with 1887 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
from neo4j_advanced_rag.chain import chain
if __name__ == "__main__":
original_query = "What is the plot of the Dune?"
print(
chain.invoke(
{"question": original_query},
{"configurable": {"strategy": "parent_document"}},
)
)