Justice Breyer's legacy of excellence.\n", "sources": "../../state_of_the_union.txt"}    Thought: I now know the final answer    Final Answer: Biden said that he nominated Circuit Court of Appeals Judge Ketanji Brown Jackson to the United States Supreme Court, and that she is one of the nation's top legal minds who will continue Justice Breyer's legacy of excellence. Sources: ../../state_of_the_union.txt        > Finished chain.    "Biden said that he nominated Circuit Court of Appeals Judge Ketanji Brown Jackson to the United States Supreme Court, and that she is one of the nation's top legal minds who will continue Justice Breyer's legacy of excellence. Sources: ../../state_of_the_union.txt"Multiple Vectorstores‚ÄãWe can also easily use this initialize an agent with multiple vectorstores and use the agent to route between them. To do this. This agent is optimized for routing, so it is a different toolkit and initializer.from langchain.agents.agent_toolkits import (    create_vectorstore_router_agent,    VectorStoreRouterToolkit,    VectorStoreInfo,)ruff_vectorstore_info = VectorStoreInfo(    name="ruff",    description="Information about the Ruff python linting library",    vectorstore=ruff_store,)router_toolkit = VectorStoreRouterToolkit(    vectorstores=[vectorstore_info, ruff_vectorstore_info], llm=llm)agent_executor = create_vectorstore_router_agent(    llm=llm, toolkit=router_toolkit, verbose=True)Examples‚Äãagent_executor.run(    "What did biden say about ketanji brown jackson in the state of the union address?")            > Entering new AgentExecutor chain...     I need to use the state_of_union_address tool to answer this question.    Action: state_of_union_address    Action Input: What did biden say about ketanji brown jackson    Observation:  Biden said that Ketanji Brown Jackson is one of the nation's top legal minds and that she will continue Justice Breyer's legacy of excellence.    Thought: I now know the final answer    Final Answer: Biden said
This notebook showcases an agent designed to retrieve information from one or more vectorstores, either with or without sources.
This notebook showcases an agent designed to retrieve information from one or more vectorstores, either with or without sources. ->: Justice Breyer's legacy of excellence.\n", "sources": "../../state_of_the_union.txt"}    Thought: I now know the final answer    Final Answer: Biden said that he nominated Circuit Court of Appeals Judge Ketanji Brown Jackson to the United States Supreme Court, and that she is one of the nation's top legal minds who will continue Justice Breyer's legacy of excellence. Sources: ../../state_of_the_union.txt        > Finished chain.    "Biden said that he nominated Circuit Court of Appeals Judge Ketanji Brown Jackson to the United States Supreme Court, and that she is one of the nation's top legal minds who will continue Justice Breyer's legacy of excellence. Sources: ../../state_of_the_union.txt"Multiple Vectorstores‚ÄãWe can also easily use this initialize an agent with multiple vectorstores and use the agent to route between them. To do this. This agent is optimized for routing, so it is a different toolkit and initializer.from langchain.agents.agent_toolkits import (    create_vectorstore_router_agent,    VectorStoreRouterToolkit,    VectorStoreInfo,)ruff_vectorstore_info = VectorStoreInfo(    name="ruff",    description="Information about the Ruff python linting library",    vectorstore=ruff_store,)router_toolkit = VectorStoreRouterToolkit(    vectorstores=[vectorstore_info, ruff_vectorstore_info], llm=llm)agent_executor = create_vectorstore_router_agent(    llm=llm, toolkit=router_toolkit, verbose=True)Examples‚Äãagent_executor.run(    "What did biden say about ketanji brown jackson in the state of the union address?")            > Entering new AgentExecutor chain...     I need to use the state_of_union_address tool to answer this question.    Action: state_of_union_address    Action Input: What did biden say about ketanji brown jackson    Observation:  Biden said that Ketanji Brown Jackson is one of the nation's top legal minds and that she will continue Justice Breyer's legacy of excellence.    Thought: I now know the final answer    Final Answer: Biden said