Abstract
Optional
kwargs: SerializedFieldsRest
..._args: never[]Abstract
lc_A path to the module that contains the class, eg. ["langchain", "llms"] Usually should be the same as the entrypoint the class is exported from.
Abstract
inputAbstract
planDecide 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: CallbackManagerGenerated using TypeDoc
Abstract base class for single action agents in LangChain. Extends the BaseAgent class and provides additional functionality specific to single action agents.