Interface for the input properties of the RefineDocumentsChain class.

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

Hierarchy (view full)

Implemented by

Properties

llmChain: LLMChain<string, any>

LLM Wrapper to use after formatting documents

refineLLMChain: LLMChain<string, any>
callbackManager?: any

⚠️ Deprecated ⚠️

Use callbacks instead

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

It is not recommended for use.

documentPrompt?: any
documentVariableName?: string

Variable name in the LLM chain to put the documents in

initialResponseName?: string
inputKey?: string
memory?: any
outputKey?: string

Generated using TypeDoc