Interface for the input properties of the RefineDocumentsChain class.

interface RefineDocumentsChainInput {
    llmChain: LLMChain<string, LLMType>;
    refineLLMChain: LLMChain<string, LLMType>;
    callbackManager?: CallbackManager;
    documentPrompt?: BasePromptTemplate<any, BasePromptValueInterface, any>;
    documentVariableName?: string;
    initialResponseName?: string;
    inputKey?: string;
    memory?: BaseMemory;
    outputKey?: string;
}

Hierarchy (view full)

Implemented by

Properties

llmChain: LLMChain<string, LLMType>

LLM Wrapper to use after formatting documents

refineLLMChain: LLMChain<string, LLMType>
callbackManager?: CallbackManager

⚠️ Deprecated ⚠️

Use callbacks instead

This feature is deprecated and will be removed in the future.

It is not recommended for use.

documentPrompt?: BasePromptTemplate<any, BasePromptValueInterface, any>
documentVariableName?: string

Variable name in the LLM chain to put the documents in

initialResponseName?: string
inputKey?: string
memory?: BaseMemory
outputKey?: string

Generated using TypeDoc