Interface LLMChainInput<T, Model>

Interface for the input parameters of the LLMChain class.

Type Parameters

  • T extends string | object = string

  • Model extends LLMType = LLMType

Hierarchy

Implemented by

Properties

llm: Model

LLM Wrapper to use

Prompt object to use

callbackManager?: CallbackManager

Deprecated

Use callbacks instead

callbacks?: Callbacks
llmKwargs?: CallOptionsIfAvailable<Model>

Kwargs to pass to LLM

memory?: BaseMemory
metadata?: Record<string, unknown>
outputKey?: string

Key to use for output, defaults to text

outputParser?: BaseLLMOutputParser<T>

OutputParser to use

tags?: string[]
verbose?: boolean

Generated using TypeDoc