EmbeddingsResult class
Constructors
-
EmbeddingsResult.new({required List<
Embedding> data, required EmbeddingModel model, Usage? usage}) -
const
-
EmbeddingsResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
data
→ List<
Embedding> -
final
-
embeddings
→ List<
Embedding> -
All returned embedding vectors, in the same order as
input
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- model → EmbeddingModel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usage → Usage?
-
final
-
vectors
→ List<
List< double> > -
Convenience accessor: list of raw vectors (
List<double>
).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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited