Chain that does self-ask with search.
Construct the scratchpad that lets the agent continue its thought process.
Validate tools for single input.
Create an agent that uses self-ask with search prompting.
Agent that is using tools.
Base class for parsing agent output into agent action/finish.
Agent that calls the language model and deciding the action.
This is driven by a LLMChain. The prompt in the LLMChain MUST include a variable called "agent_scratchpad" where the agent can put its intermediary work.
An enum for agent types.
Agent for the self-ask-with-search paper.
[Deprecated] Chain that does self-ask with search.
Parses self-ask style LLM calls.
Expects output to be in one of two formats.
If the output signals that an action should be taken, should be in the below format. This will result in an AgentAction being returned.
Thoughts go here...
Follow up: what is the temperature in SF?
If the output signals that a final answer should be given, should be in the below format. This will result in an AgentFinish being returned.
Thoughts go here...
So the final answer is: The temperature is 100 degrees