mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-05 13:06:03 +00:00
Templates (#12294)
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com> Co-authored-by: Lance Martin <lance@langchain.dev> Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
This commit is contained in:
6
templates/anthropic-iterative-search/main.py
Normal file
6
templates/anthropic-iterative-search/main.py
Normal file
@@ -0,0 +1,6 @@
|
||||
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}))
|
Reference in New Issue
Block a user