Interface InitializeAgentExecutorOptionsStructured

interface InitializeAgentExecutorOptionsStructured {
    agentType: "structured-chat-zero-shot-react-description" | "openai-functions";
    agentArgs?: StructuredChatCreatePromptArgs & AgentArgs | OpenAIAgentCreatePromptArgs & Pick<AgentArgs, "callbacks">;
    callbackManager?: any;
    earlyStoppingMethod?: "force" | "generate";
    handleParsingErrors?: string | boolean | ((e) => string);
    maxIterations?: number;
    memory?: any;
    returnIntermediateSteps?: boolean;
}

Properties

agentType: "structured-chat-zero-shot-react-description" | "openai-functions"
callbackManager?: any

⚠️ Deprecated ⚠️

Use callbacks instead

This feature is deprecated and will be removed in the future.

It is not recommended for use.

earlyStoppingMethod?: "force" | "generate"
handleParsingErrors?: string | boolean | ((e) => string)

Type declaration

    • (e): string
    • Parameters

      • e: any

      Returns string

maxIterations?: number
memory?: any
returnIntermediateSteps?: boolean

Generated using TypeDoc