TextEmbedderResult class

Constructors

TextEmbedderResult.new({required Iterable<Embedding> embeddings})
Instantiates a TextEmbedderResult with fake data for testing.
TextEmbedderResult.native(Pointer<TextEmbedderResult>? _pointer)
Initializes a TextEmbedderResult instance as a wrapper around native memory.

Properties

embeddings Iterable<Embedding>
The embedding results for each head of the model.
no setter
hashCode int
The hash code for this object.
no setterinherited
isClosed bool
Tracks whether this object has been properly released via dispose.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases all resources for this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toStringVerbose() String
A toString variant that calls the full toString on each child embedding. Use with caution - this can produce a long value.
inherited

Operators

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