Class GoogleCloudAiplatformV1EmbedContentRequest
Request message for PredictionService.EmbedContent.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1EmbedContentRequest : IDirectResponseSchema
Properties
AutoTruncate
Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead. Whether to silently truncate the input content if it's longer than the maximum sequence length.
Declaration
[JsonProperty("autoTruncate")]
public virtual bool? AutoTruncate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Content
Required. The content to be embedded.
Declaration
[JsonProperty("content")]
public virtual GoogleCloudAiplatformV1Content Content { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudAiplatformV1Content |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OutputDimensionality
Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality instead. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.
Declaration
[JsonProperty("outputDimensionality")]
public virtual int? OutputDimensionality { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
TaskType
Optional. Deprecated: Please use EmbedContentConfig.task_type instead. The task type of the embedding.
Declaration
[JsonProperty("taskType")]
public virtual string TaskType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Optional. Deprecated: Please use EmbedContentConfig.title instead. The title for the text.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |