mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
0dbdb8498a
Todo: - [x] Docs
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"}},
|
|
)
|
|
)
|