The language model used to create the JSON agent.
The JSON toolkit used to create the JSON agent.
Optional
args: ZeroShotCreatePromptArgsOptional prompt arguments used to create the JSON agent.
An AgentExecutor for executing the created JSON agent with the tools.
Generated using TypeDoc
Creates a JSON agent using a language model, a JSON toolkit, and optional prompt arguments. It creates a prompt for the agent using the JSON tools and the provided prefix and suffix. It then creates a ZeroShotAgent with the prompt and the JSON tools, and returns an AgentExecutor for executing the agent with the tools.