Interface for the input parameters of the RetrievalQAChain class.

interface RetrievalQAChainInput {
    combineDocumentsChain: BaseChain<ChainValues, ChainValues>;
    retriever: BaseRetrieverInterface<Record<string, any>>;
    callbackManager?: CallbackManager;
    inputKey?: string;
    returnSourceDocuments?: boolean;
}

Hierarchy

Implemented by

Properties

combineDocumentsChain: BaseChain<ChainValues, ChainValues>
retriever: BaseRetrieverInterface<Record<string, any>>
callbackManager?: CallbackManager

⚠️ Deprecated ⚠️

Use callbacks instead

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

It is not recommended for use.

inputKey?: string
returnSourceDocuments?: boolean

Generated using TypeDoc