responseSchema property

GoogleCloudAiplatformV1Schema? responseSchema
getter/setter pair

Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure.

This is useful for generating structured data such as JSON. The schema is a subset of the OpenAPI 3.0 schema object object. When this field is set, you must also set the response_mime_type to application/json.

Optional.

Implementation

GoogleCloudAiplatformV1Schema? responseSchema;