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

⚠️ Deprecated ⚠️

Use callbacks instead

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

It is not recommended for use.

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

Generated using TypeDoc