Interface for the input parameters of the RetrievalQAChain class.

interface RetrievalQAChainInput {
    callbackManager?: CallbackManager;
    callbacks?: Callbacks;
    combineDocumentsChain: BaseChain<ChainValues, ChainValues>;
    inputKey?: string;
    metadata?: Record<string, unknown>;
    retriever: BaseRetrieverInterface<Record<string, any>>;
    returnSourceDocuments?: boolean;
    tags?: string[];
    verbose?: boolean;
}

Hierarchy

Implemented by

Properties

callbackManager?: CallbackManager

Use callbacks instead

callbacks?: Callbacks
combineDocumentsChain: BaseChain<ChainValues, ChainValues>
inputKey?: string
metadata?: Record<string, unknown>
retriever: BaseRetrieverInterface<Record<string, any>>
returnSourceDocuments?: boolean
tags?: string[]
verbose?: boolean