Interface ConversationalRetrievalQAChainInput

Interface for the input parameters of the ConversationalRetrievalQAChain class.

interface ConversationalRetrievalQAChainInput {
    combineDocumentsChain: BaseChain<ChainValues, ChainValues>;
    questionGeneratorChain: LLMChain<string, any>;
    retriever: BaseRetrieverInterface;
    callbackManager?: any;
    inputKey?: string;
    memory?: any;
    returnGeneratedQuestion?: boolean;
    returnSourceDocuments?: boolean;
}

Hierarchy (view full)

Implemented by

Properties

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

Use callbacks instead

inputKey?: string
memory?: any
returnGeneratedQuestion?: boolean
returnSourceDocuments?: boolean
""