Interface ConversationalRetrievalQAChainInput

Interface for the input parameters of the ConversationalRetrievalQAChain class.

interface ConversationalRetrievalQAChainInput {
    callbackManager?: CallbackManager;
    callbacks?: Callbacks;
    combineDocumentsChain: BaseChain<ChainValues, ChainValues>;
    inputKey?: string;
    memory?: BaseMemory;
    metadata?: Record<string, unknown>;
    questionGeneratorChain: LLMChain<string, LLMType>;
    retriever: BaseRetrieverInterface<Record<string, any>>;
    returnGeneratedQuestion?: boolean;
    returnSourceDocuments?: boolean;
    tags?: string[];
    verbose?: boolean;
}

Hierarchy (view full)

Implemented by

Properties

callbackManager?: CallbackManager

Use callbacks instead

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