Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Presets (v0.50.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Presets.

Preset configuration for example-based explanations

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#modality

def modality() -> ::Google::Cloud::AIPlatform::V1::Presets::Modality
Returns
  • (::Google::Cloud::AIPlatform::V1::Presets::Modality) — The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type.

#modality=

def modality=(value) -> ::Google::Cloud::AIPlatform::V1::Presets::Modality
Parameter
  • value (::Google::Cloud::AIPlatform::V1::Presets::Modality) — The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type.
Returns
  • (::Google::Cloud::AIPlatform::V1::Presets::Modality) — The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type.

#query

def query() -> ::Google::Cloud::AIPlatform::V1::Presets::Query
Returns

#query=

def query=(value) -> ::Google::Cloud::AIPlatform::V1::Presets::Query
Parameter
Returns