DVSemanticDimensionError class
An embedder whose vector was not the length it was declared with.
Refused rather than stored: vectors of two lengths in one index cannot be compared, and a provider that silently changed a model's output size would otherwise corrupt the index one write at a time.
- Implemented types
Constructors
- DVSemanticDimensionError({required String embedder, required int expected, required int actual})
Properties
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