mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-07 22:11:51 +00:00
10
templates/neo4j-advanced-rag/main.py
Normal file
10
templates/neo4j-advanced-rag/main.py
Normal 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"}},
|
||||
)
|
||||
)
|
Reference in New Issue
Block a user