Function createConversationalRetrievalAgent

  • 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.

    Parameters

    Returns Promise<AgentExecutor>

    A Promise that resolves to an initialized AgentExecutor.

Generated using TypeDoc