Skip to content

Overview / ChatModelConfig

ChatModelConfig<Config>

Type Parameters

Type ParameterDefault type
Config extends z.ZodTypeAnyz.ZodTypeAny

Constructors

new ChatModelConfig()

new ChatModelConfig<Config>(_settings): ChatModelConfig<Config>

Parameters

ParameterType
_settingsLLMSettings<Config>

Returns

ChatModelConfig<Config>

Accessors

config

get config(): Config

Returns

Config


info

get info(): object

Returns

object

NameType
descriptionstring
idstring
linkundefined | string
namestring

Methods

initModel()

initModel(params): BaseChatModel<BaseChatModelCallOptions, AIMessageChunk>

Parameters

ParameterType
paramsinput<Config>

Returns

BaseChatModel<BaseChatModelCallOptions, AIMessageChunk>

Released under the GPL-3.0 License.