VertexAITextEmbeddingsModelPrediction class

Prediction from a Vertex AI Text Embeddings Model.

Annotations
  • @immutable

Constructors

VertexAITextEmbeddingsModelPrediction.new({required List<double> values, required VertexAITextEmbeddingsModelResponseStatistics statistics})
Prediction from a Vertex AI Text Embeddings Model.
const
VertexAITextEmbeddingsModelPrediction.fromMap(Map<String, dynamic> predictionJson)
Factory for creating a VertexAITextEmbeddingsModelPrediction from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statistics VertexAITextEmbeddingsModelResponseStatistics
The statistics computed from the input text.
final
values List<double>
Contains the embedding vectors corresponding to the words in the input text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant VertexAITextEmbeddingsModelPrediction other) bool
The equality operator.
override