CES class
Catalog Embedding Shard.
One CES publishes the dense semantic-search vector table for one dataset update: one row per catalog object, alongside that update's $OMM shard and $DPM manifest (DPMAsset.ASSET_KIND = EMBEDDING_SHARD). Vectors are L2-normalised at the encoder's output; similarity between two rows, or between a row and a query vector produced by a paired $QEM, is dot product (equivalent to cosine similarity for unit-norm vectors).
A consumer MUST compare MODEL_ID, MODEL_VERSION, MODEL_WEIGHTS_SHA256, POOLING_METHOD and TEMPLATE_VERSION against a QEM record before trusting cross-encoding similarity between a query vector and CES rows; a mismatch on any one field means the two vector spaces are not comparable.
Properties
- DATASET_ID → String?
-
Joins to DPM.DATASET_ID for the publication this shard belongs to.
no setter
- datasetId → String?
-
no setter
- DIMENSIONS → int
-
Fixed embedding dimensionality shared by every row (e.g. 384).
no setter
- ENCODING → cesVectorEncoding
-
Row element encoding used across ROWS.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- MODEL_ID → String?
-
Encoder model identifier/name.
no setter
- MODEL_VERSION → String?
-
Encoder model version.
no setter
- MODEL_WEIGHTS_SHA256 → String?
-
SHA-256 of the encoder weights, lowercase hex. Same convention as
DPMAsset.BYTE_SHA256.
no setter
- modelId → String?
-
no setter
- modelVersion → String?
-
no setter
- modelWeightsSha256 → String?
-
no setter
- NORMALIZATION → cesNormalizationKind
-
Row-vector normalization applied before quantization.
no setter
- POOLING_METHOD → cesPoolingKind
-
Sentence/document pooling method the encoder used.
no setter
- poolingMethod → cesPoolingKind
-
no setter
-
ROWS
→ List<
CESObjectVector> ? -
One row per catalog object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- SIMILARITY → cesSimilarityKind
-
Similarity function rows are intended to be compared with.
no setter
- TEMPLATE_VERSION → String?
-
Version of the text template documents were rendered from before
encoding. Must match a QEM's TEMPLATE_VERSION for compatible retrieval.
no setter
- templateVersion → String?
-
no setter
- UPDATE_ID → String?
-
Joins to DPM.UPDATE_ID for the specific update this shard was computed
against.
no setter
- updateId → String?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited