Instance of ChatOpenAI used as the language model for the agent.
Array of StructuredTool instances used by the agent.
Optional
options: ConversationalRetrievalAgentOptionsOptional ConversationalRetrievalAgentOptions to customize the agent.
A Promise that resolves to an initialized AgentExecutor.
Generated using TypeDoc
Asynchronous function that creates a conversational retrieval agent using a language model, tools, and options. It initializes the buffer memory based on the provided options and initializes the AgentExecutor with the tools, language model, and memory.