Interface for the input parameters of the ChatVectorDBQAChain class.

interface ChatVectorDBQAChainInput {
    combineDocumentsChain: BaseChain<ChainValues, ChainValues>;
    questionGeneratorChain: LLMChain<string, any>;
    vectorstore: VectorStoreInterface;
    callbackManager?: any;
    inputKey?: string;
    k?: number;
    memory?: any;
    outputKey?: string;
    returnSourceDocuments?: boolean;
}

Hierarchy (view full)

Implemented by

Properties

combineDocumentsChain: BaseChain<ChainValues, ChainValues>
questionGeneratorChain: LLMChain<string, any>
vectorstore: VectorStoreInterface
callbackManager?: any

Use callbacks instead

inputKey?: string
k?: number
memory?: any
outputKey?: string
returnSourceDocuments?: boolean