Skip to main content

Interface: EmbeddingSimilarityClassifierSettings<VALUE, CLUSTERS>

Type parameters

NameType
VALUEVALUE
CLUSTERSextends ValueCluster<VALUE, string>[]

Hierarchy

Properties

clusters

clusters: CLUSTERS

Defined in

packages/modelfusion/src/model-function/classify/EmbeddingSimilarityClassifier.ts:17


embeddingModel

embeddingModel: EmbeddingModel<VALUE, EmbeddingModelSettings>

Defined in

packages/modelfusion/src/model-function/classify/EmbeddingSimilarityClassifier.ts:18


observers

Optional observers: FunctionObserver[]

Observers that are called when the model is used in run functions.

Inherited from

ClassifierSettings.observers

Defined in

packages/modelfusion/src/model-function/Model.ts:8


similarityThreshold

similarityThreshold: number

Defined in

packages/modelfusion/src/model-function/classify/EmbeddingSimilarityClassifier.ts:19