Class MapInstance (1.129.0)

MapInstance(
    *,
    mapInstance: typing.Optional[
        dict[str, vertexai._genai.types.evals.InstanceData]
    ] = None
)

Instance data specified as a map.

Methods

MapInstance

MapInstance(
    *,
    mapInstance: typing.Optional[
        dict[str, vertexai._genai.types.evals.InstanceData]
    ] = 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.