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 {
    callbackManager?: CallbackManager;
    callbacks?: Callbacks;
    combineDocumentsChain: BaseChain<ChainValues, ChainValues>;
    inputKey?: string;
    k?: number;
    metadata?: Record<string, unknown>;
    returnSourceDocuments?: boolean;
    tags?: string[];
    vectorstore: VectorStoreInterface;
    verbose?: boolean;
}

Hierarchy

Implemented by

Properties

callbackManager?: CallbackManager

Use callbacks instead

callbacks?: Callbacks
combineDocumentsChain: BaseChain<ChainValues, ChainValues>
inputKey?: string
k?: number
metadata?: Record<string, unknown>
returnSourceDocuments?: boolean
tags?: string[]
vectorstore: VectorStoreInterface
verbose?: boolean