langchain.js
    Preparing search index...

    Interface VectorDBQAChainInput

    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?: any;
        combineDocumentsChain: BaseChain;
        inputKey?: string;
        k?: number;
        returnSourceDocuments?: boolean;
        vectorstore: VectorStoreInterface;
    }

    Hierarchy

    Implemented by

    Index

    Properties

    callbackManager?: any

    Use callbacks instead

    combineDocumentsChain: BaseChain
    inputKey?: string
    k?: number
    returnSourceDocuments?: boolean
    vectorstore: VectorStoreInterface