Optional
stopDecide what to do given some input.
Steps the LLM has taken so far, along with observations from each.
User inputs.
Optional
callbackManager: CallbackManagerCallback manager.
Action specifying what tool to use.
Prepare the agent for output, if needed
Return response when agent has been stopped due to max iterations
Optional
_callbackManager: CallbackManager
Class representing a single action agent using a LLMChain in LangChain. Extends the BaseSingleActionAgent class and provides methods for planning agent actions based on LLMChain outputs.
Example