public sealed class EmbedContentResponse : IMessage<EmbedContentResponse>, IEquatable<EmbedContentResponse>, IDeepCloneable<EmbedContentResponse>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class EmbedContentResponse.
Response message for [PredictionService.EmbedContent][google.cloud.aiplatform.v1beta1.PredictionService.EmbedContent].
Implements
IMessageEmbedContentResponse, IEquatableEmbedContentResponse, IDeepCloneableEmbedContentResponse, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
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 |
|