Interface StuffDocumentsChainInput

Interface for the input properties of the StuffDocumentsChain class.

interface StuffDocumentsChainInput {
    callbackManager?: CallbackManager;
    callbacks?: Callbacks;
    documentVariableName?: string;
    inputKey?: string;
    llmChain: LLMChain<string, LLMType>;
    memory?: BaseMemory;
    metadata?: Record<string, unknown>;
    tags?: string[];
    verbose?: boolean;
}

Hierarchy (view full)

Implemented by

Properties

callbackManager?: CallbackManager

Use callbacks instead

callbacks?: Callbacks
documentVariableName?: string

Variable name in the LLM chain to put the documents in

inputKey?: string
llmChain: LLMChain<string, LLMType>

LLM Wrapper to use after formatting documents

memory?: BaseMemory
metadata?: Record<string, unknown>
tags?: string[]
verbose?: boolean