Interface ConversationalRetrievalQAChainInput

Interface for the input parameters of the ConversationalRetrievalQAChain class.

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

Hierarchy (view full)

Implemented by

Properties

combineDocumentsChain: BaseChain<ChainValues, ChainValues>
questionGeneratorChain: LLMChain<string, LLMType>
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
memory?: BaseMemory
returnGeneratedQuestion?: boolean
returnSourceDocuments?: boolean

Generated using TypeDoc