Interface: EmbeddingSimilarityClassifierSettings<VALUE, CLUSTERS>
Type parameters
Name | Type |
---|---|
VALUE | VALUE |
CLUSTERS | extends ValueCluster <VALUE , string >[] |
Hierarchy
-
↳
EmbeddingSimilarityClassifierSettings
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
Defined in
packages/modelfusion/src/model-function/Model.ts:8
similarityThreshold
• similarityThreshold: number
Defined in
packages/modelfusion/src/model-function/classify/EmbeddingSimilarityClassifier.ts:19