Vertex AI v1 API - Class EmbedContentRequest.Types.EmbedContentConfig (3.69.0)

public sealed class EmbedContentRequest.Types.EmbedContentConfig : IMessage<EmbedContentRequest.Types.EmbedContentConfig>, IEquatable<EmbedContentRequest.Types.EmbedContentConfig>, IDeepCloneable<EmbedContentRequest.Types.EmbedContentConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1 API class EmbedContentRequest.Types.EmbedContentConfig.

Configurations for the EmbedContent API.

Inheritance

object > EmbedContentRequest.Types.EmbedContentConfig

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

EmbedContentConfig()

public EmbedContentConfig()

EmbedContentConfig(EmbedContentConfig)

public EmbedContentConfig(EmbedContentRequest.Types.EmbedContentConfig other)
Parameter
Name Description
other EmbedContentRequestTypesEmbedContentConfig

Properties

AudioTrackExtraction

public bool AudioTrackExtraction { get; set; }

Optional. Whether to extract audio from video content.

Property Value
Type Description
bool

AutoTruncate

public bool AutoTruncate { get; set; }

Optional. Whether to silently truncate the input content if it's longer than the maximum sequence length.

Only applicable to text-only embedding models.

Property Value
Type Description
bool

DocumentOcr

public bool DocumentOcr { get; set; }

Optional. Whether to enable OCR for document content.

Property Value
Type Description
bool

HasAudioTrackExtraction

public bool HasAudioTrackExtraction { get; }

Gets whether the "audio_track_extraction" field is set

Property Value
Type Description
bool

HasAutoTruncate

public bool HasAutoTruncate { get; }

Gets whether the "auto_truncate" field is set

Property Value
Type Description
bool

HasDocumentOcr

public bool HasDocumentOcr { get; }

Gets whether the "document_ocr" field is set

Property Value
Type Description
bool

HasOutputDimensionality

public bool HasOutputDimensionality { get; }

Gets whether the "output_dimensionality" field is set

Property Value
Type Description
bool

HasTaskType

public bool HasTaskType { get; }

Gets whether the "task_type" field is set

Property Value
Type Description
bool

HasTitle

public bool HasTitle { get; }

Gets whether the "title" field is set

Property Value
Type Description
bool

OutputDimensionality

public int OutputDimensionality { get; set; }

Optional. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.

Property Value
Type Description
int

TaskType

public EmbedContentRequest.Types.EmbeddingTaskType TaskType { get; set; }

Optional. The task type of the embedding.

Only applicable to text-only embedding models.

Property Value
Type Description
EmbedContentRequestTypesEmbeddingTaskType

Title

public string Title { get; set; }

Optional. The title for the text.

Only applicable to text-only embedding models.

Property Value
Type Description
string