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.

Deprecated

Switch to createRetrievalChain Will be removed in 0.2.0

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

Hierarchy

Implemented by

Properties

combineDocumentsChain: BaseChain<ChainValues, ChainValues>
vectorstore: VectorStoreInterface
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
k?: number
returnSourceDocuments?: boolean

Generated using TypeDoc