Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::ModelArmorConfig (v1.20.0)

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

Configuration for Model Armor integrations of prompt and responses.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#prompt_template_name

def prompt_template_name() -> ::String
Returns
  • (::String) — Optional. The name of the Model Armor template to use for prompt sanitization.

#prompt_template_name=

def prompt_template_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The name of the Model Armor template to use for prompt sanitization.
Returns
  • (::String) — Optional. The name of the Model Armor template to use for prompt sanitization.

#response_template_name

def response_template_name() -> ::String
Returns
  • (::String) — Optional. The name of the Model Armor template to use for response sanitization.

#response_template_name=

def response_template_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The name of the Model Armor template to use for response sanitization.
Returns
  • (::String) — Optional. The name of the Model Armor template to use for response sanitization.