mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
11 lines
278 B
Python
11 lines
278 B
Python
|
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"}},
|
||
|
)
|
||
|
)
|