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

Use callbacks instead

documentPrompt?: any
documentVariableName?: string

Variable name in the LLM chain to put the documents in

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