Interface for arguments used to create an agent in LangChain.

interface AgentArgs {
    callbackManager?: CallbackManager;
    callbacks?: CallbackManager | (BaseCallbackHandler | BaseCallbackHandlerMethodsClass)[];
    outputParser?: AgentActionOutputParser;
}

Properties

callbackManager?: CallbackManager

⚠️ Deprecated ⚠️

Use callbacks instead.

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

It is not recommended for use.

callbacks?: CallbackManager | (BaseCallbackHandler | BaseCallbackHandlerMethodsClass)[]

Generated using TypeDoc