BatchEmbedContentsResponse class

BatchEmbedContentsResponse class represents the response for a batch of embeddings. It consists of a list of ContentEmbedding.

Annotations
  • @JsonSerializable()

Constructors

BatchEmbedContentsResponse.new(List<ContentEmbedding> embeddings)
BatchEmbedContentsResponse.fromJson(Map<String, dynamic> json)
Factory constructor for creating a new BatchEmbedContentsResponse instance
factory

Properties

embeddings List<ContentEmbedding>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Declares support for serialization to JSON
toString() String
A string representation of this object.
inherited

Operators

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