Interface ChatVectorDBQAChainInput

Interface for the input parameters of the ChatVectorDBQAChain class.

interface ChatVectorDBQAChainInput {
    callbackManager?: CallbackManager;
    callbacks?: Callbacks;
    combineDocumentsChain: BaseChain<ChainValues, ChainValues>;
    inputKey?: string;
    k?: number;
    memory?: BaseMemory;
    metadata?: Record<string, unknown>;
    outputKey?: string;
    questionGeneratorChain: LLMChain<string, LLMType>;
    returnSourceDocuments?: boolean;
    tags?: string[];
    vectorstore: VectorStoreInterface;
    verbose?: boolean;
}

Hierarchy (view full)

Implemented by

Properties

callbackManager?: CallbackManager

Use callbacks instead

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