BaseEmbedderResult class abstract

Represents the embedding results of a model. Typically used as a result for embedding tasks.

This flavor of embedding result will never have a timestamp.

See also:

  • TimestampedEmbeddingResult for data which may have a timestamp.
Inheritance

Constructors

BaseEmbedderResult()
Represents the embedding results of a model. Typically used as a result for embedding tasks.

Properties

embeddings Iterable<BaseEmbedding>
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.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
toStringVerbose() String
A toString variant that calls the full toString on each child embedding. Use with caution - this can produce a long value.

Operators

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