Embedding class

Represents a generated embedding vector.

Constructors

Embedding({required List<double> vector, DateTime? createdAt, String? modelId, AdditionalPropertiesDictionary? additionalProperties})
Creates a new Embedding.

Properties

additionalProperties AdditionalPropertiesDictionary?
Additional properties.
getter/setter pair
createdAt DateTime?
When the embedding was created.
getter/setter pair
dimensions int
The number of dimensions in the vector.
no setter
hashCode int
The hash code for this object.
no setterinherited
modelId String?
The model that generated this embedding.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vector List<double>
The embedding vector.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited