• Create a retrieval chain that retrieves documents and then passes them on.

    Parameters

    Returns RunnableInterface<{
        input: string;
        chat_history?: BaseMessage[] | string;
    }, {
        answer: string;
        context: string;
    } & {
        [key: string]: unknown;
    }>

    An LCEL Runnable which returns a an object containing at least context and answer keys.

    Example

    // TODO
    

Generated using TypeDoc