Properties
agentType
agentType: "structured-chat-zero-shot-react-description" | "openai-functions"
Optional callbackManager
callbackManager?: CallbackManager
Optional earlyStoppingMethod
earlyStoppingMethod?: "force" | "generate"
Optional handleParsingErrors
handleParsingErrors?: string | boolean | ((e) => string)
Type declaration
- (e): string
Parameters
e: OutputParserException | ToolInputParsingException
Returns string
Optional maxIterations
maxIterations?: number
Optional memory
memory?: BaseMemory
Optional returnIntermediateSteps
returnIntermediateSteps?: boolean
⚠️ Deprecated ⚠️
Use
callbacksinsteadThis feature is deprecated and will be removed in the future.
It is not recommended for use.