DVEmbedder class abstract

Turns text into a vector.

id and dimensions identify the model, and are part of every index built with it: two embedders with different ids never share an index.

Constructors

DVEmbedder()

Properties

dimensions → int
The length of every vector embed returns.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
The model, as the provider names it: openai/text-embedding-3-small.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

embed(String text) → Future<List<double>>
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