Vertex AI v1beta1 API - Class EmbedContentResponse (1.0.0-beta57)

public sealed class EmbedContentResponse : IMessage<EmbedContentResponse>, IEquatable<EmbedContentResponse>, IDeepCloneable<EmbedContentResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class EmbedContentResponse.

Response message for [PredictionService.EmbedContent][google.cloud.aiplatform.v1beta1.PredictionService.EmbedContent].

Inheritance

object > EmbedContentResponse

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

EmbedContentResponse()

public EmbedContentResponse()

EmbedContentResponse(EmbedContentResponse)

public EmbedContentResponse(EmbedContentResponse other)
Parameter
Name Description
other EmbedContentResponse

Properties

Embedding

public EmbedContentResponse.Types.Embedding Embedding { get; set; }

The embedding generated from the input content.

Property Value
Type Description
EmbedContentResponseTypesEmbedding

Truncated

public bool Truncated { get; set; }

Whether the input content was truncated before generating the embedding.

Property Value
Type Description
bool

UsageMetadata

public UsageMetadata UsageMetadata { get; set; }

Metadata about the response(s).

Property Value
Type Description
UsageMetadata