File size: 332 Bytes
ed4d993
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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}
        )
    )