Union QA System",        func=state_of_union.run,        description="useful for when you need to answer questions about the most recent state of the union address. Input should be a fully formed question, not referencing any obscure pronouns from the conversation before.",    ),    Tool(        name="Ruff QA System",        func=ruff.run,        description="useful for when you need to answer questions about ruff (a python linter). Input should be a fully formed question, not referencing any obscure pronouns from the conversation before.",    ),]# Construct the agent. We will use the default agent type here.# See documentation for a full list of options.agent = initialize_agent(    tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)agent.run(    "What tool does ruff use to run over Jupyter Notebooks? Did the president mention that tool in the state of the union?")            > Entering new AgentExecutor chain...     I need to find out what tool ruff uses to run over Jupyter Notebooks, and if the president mentioned it in the state of the union.    Action: Ruff QA System    Action Input: What tool does ruff use to run over Jupyter Notebooks?    Observation:  Ruff is integrated into nbQA, a tool for running linters and code formatters over Jupyter Notebooks. After installing ruff and nbqa, you can run Ruff over a notebook like so: > nbqa ruff Untitled.html    Thought: I now need to find out if the president mentioned this tool in the state of the union.    Action: State of Union QA System    Action Input: Did the president mention nbQA in the state of the union?    Observation:  No, the president did not mention nbQA in the state of the union.    Thought: I now know the final answer.    Final Answer: No, the president did not mention nbQA in the state of the union.        > Finished chain.    'No, the president did not mention nbQA in the state of the union.'PreviousReturning Structured OutputNextAsync APICreate the vector storeCreate the AgentUse
This notebook covers how to combine agents and vector stores. The use case for this is that you've ingested your data into a vector store and want to interact with it in an agentic manner.
This notebook covers how to combine agents and vector stores. The use case for this is that you've ingested your data into a vector store and want to interact with it in an agentic manner. ->: Union QA System",        func=state_of_union.run,        description="useful for when you need to answer questions about the most recent state of the union address. Input should be a fully formed question, not referencing any obscure pronouns from the conversation before.",    ),    Tool(        name="Ruff QA System",        func=ruff.run,        description="useful for when you need to answer questions about ruff (a python linter). Input should be a fully formed question, not referencing any obscure pronouns from the conversation before.",    ),]# Construct the agent. We will use the default agent type here.# See documentation for a full list of options.agent = initialize_agent(    tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)agent.run(    "What tool does ruff use to run over Jupyter Notebooks? Did the president mention that tool in the state of the union?")            > Entering new AgentExecutor chain...     I need to find out what tool ruff uses to run over Jupyter Notebooks, and if the president mentioned it in the state of the union.    Action: Ruff QA System    Action Input: What tool does ruff use to run over Jupyter Notebooks?    Observation:  Ruff is integrated into nbQA, a tool for running linters and code formatters over Jupyter Notebooks. After installing ruff and nbqa, you can run Ruff over a notebook like so: > nbqa ruff Untitled.html    Thought: I now need to find out if the president mentioned this tool in the state of the union.    Action: State of Union QA System    Action Input: Did the president mention nbQA in the state of the union?    Observation:  No, the president did not mention nbQA in the state of the union.    Thought: I now know the final answer.    Final Answer: No, the president did not mention nbQA in the state of the union.        > Finished chain.    'No, the president did not mention nbQA in the state of the union.'PreviousReturning Structured OutputNextAsync APICreate the vector storeCreate the AgentUse