Skip to content

Overview / EmbedderConfig

EmbedderConfig<Config>

Type Parameters

Type ParameterDefault type
Config extends z.ZodTypeAnyz.ZodTypeAny

Constructors

new EmbedderConfig()

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

Parameters

ParameterType
_settingsEmbedderSettings<Config>

Returns

EmbedderConfig<Config>

Accessors

config

get config(): Config

Returns

Config


info

get info(): object

Returns

object

NameType
descriptionstring
idstring
linkundefined | string
namestring

Methods

initModel()

initModel(params): Embeddings

Parameters

ParameterType
paramsinput<Config>

Returns

Embeddings

Released under the GPL-3.0 License.