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. 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. Input content to be embedded. Required.
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. Optional 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. The task type of the embedding.
Declaration
[JsonProperty("taskType")]
public virtual string TaskType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Optional. An optional title for the text.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |