Interface that extends the ChainInputs interface and defines the input fields required for a VectorDBQAChain. It includes properties such as vectorstore, combineDocumentsChain, returnSourceDocuments, k, and inputKey.

Switch to createRetrievalChain Will be removed in 0.2.0

interface VectorDBQAChainInput {
    combineDocumentsChain: BaseChain<ChainValues, ChainValues>;
    vectorstore: VectorStoreInterface;
    callbackManager?: any;
    inputKey?: string;
    k?: number;
    returnSourceDocuments?: boolean;
}

Hierarchy

Implemented by

Properties

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

Use callbacks instead

inputKey?: string
k?: number
returnSourceDocuments?: boolean