mirror of
https://github.com/hwchase17/langchain
synced 2024-11-04 06:00:26 +00:00
13 lines
332 B
Python
13 lines
332 B
Python
from anthropic_iterative_search import final_chain
|
|
|
|
if __name__ == "__main__":
|
|
query = (
|
|
"Which movie came out first: Oppenheimer, or "
|
|
"Are You There God It's Me Margaret?"
|
|
)
|
|
print(
|
|
final_chain.with_config(configurable={"chain": "retrieve"}).invoke(
|
|
{"query": query}
|
|
)
|
|
)
|