Skip to content

@camera.ui/sdk / plugin / ClipTextEmbeddingResult

Interface: ClipTextEmbeddingResult ​

Defined in: plugin/interfaces.ts:128

Result of a CLIP text embedding request.

Properties ​

embedding ​

embedding: number[]

Defined in: plugin/interfaces.ts:130

Embedding vector for the query text.


embeddingModel ​

embeddingModel: string

Defined in: plugin/interfaces.ts:132

Model that produced the embedding; consumers must not mix models.


scoreBand ​

scoreBand: [number, number]

Defined in: plugin/interfaces.ts:134

[floor, ceiling] of raw text-image cosine scores for this model; consumers map scores to a 0..1 relevance scale and treat a missing band as score 0.