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

actual → int
final
embedder → String
final
expected → int
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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