Class EmbedContentConfig (1.153.1)

EmbedContentConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
title str
Optional. The title for the text. Only applicable to text-only embedding models. This field is a member of oneof_ _title.
task_type google.cloud.aiplatform_v1.types.EmbedContentRequest.EmbeddingTaskType
Optional. The task type of the embedding. Only applicable to text-only embedding models. This field is a member of oneof_ _task_type.
auto_truncate bool
Optional. Whether to silently truncate the input content if it's longer than the maximum sequence length. Only applicable to text-only embedding models. This field is a member of oneof_ _auto_truncate.
output_dimensionality int
Optional. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end. This field is a member of oneof_ _output_dimensionality.
document_ocr bool
Optional. Whether to enable OCR for document content. This field is a member of oneof_ _document_ocr.
audio_track_extraction bool
Optional. Whether to extract audio from video content. This field is a member of oneof_ _audio_track_extraction.

Methods

EmbedContentConfig

EmbedContentConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)