Interface for the input parameters of the RetrievalQAChain class.

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

Hierarchy

Implemented by

Properties

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

⚠️ 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