Class MultimodalDataset (1.144.0)

MultimodalDataset(
    *,
    name: typing.Optional[str] = None,
    displayName: typing.Optional[str] = None,
    metadata: typing.Optional[
        vertexai._genai.types.common.SchemaTablesDatasetMetadata
    ] = None,
    description: typing.Optional[str] = None
)

Represents a multimodal dataset.

Properties

bigquery_uri

Gets the bigquery uri from the dataset metadata. Returns None if it's not set.

read_config

Gets the read config from the dataset metadata. Returns None if it's not set.

Methods

MultimodalDataset

MultimodalDataset(
    *,
    name: typing.Optional[str] = None,
    displayName: typing.Optional[str] = None,
    metadata: typing.Optional[
        vertexai._genai.types.common.SchemaTablesDatasetMetadata
    ] = None,
    description: typing.Optional[str] = None
)

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

set_bigquery_uri

set_bigquery_uri(bigquery_uri: str) -> None

Sets the bigquery uri in the dataset metadata. Prepends 'bq://' if it's not already present.

set_read_config

set_read_config(
    *,
    read_config: typing.Union[
        vertexai._genai.types.common.GeminiRequestReadConfig,
        vertexai._genai.types.common.GeminiRequestReadConfigDict,
    ]
) -> None

Sets the read config in the dataset metadata.