Class GoogleCloudAiplatformV1beta1ModelArmorConfig
Configuration for Model Armor. Model Armor is a Google Cloud service that provides safety and security filtering for prompts and responses. It helps protect your AI applications from risks such as harmful content, sensitive data leakage, and prompt injection attacks.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseML.v2beta.Data
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class GoogleCloudAiplatformV1beta1ModelArmorConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PromptTemplateName
Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template
is a set of customized filters and thresholds that define how Model Armor screens content. If specified,
Model Armor will use this template to check the user's prompt for safety and security risks before it is
sent to the model. The name must be in the format
projects/{project}/locations/{location}/templates/{template}.
Declaration
[JsonProperty("promptTemplateName")]
public virtual string PromptTemplateName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResponseTemplateName
Optional. The resource name of the Model Armor template to use for response screening. A Model Armor
template is a set of customized filters and thresholds that define how Model Armor screens content. If
specified, Model Armor will use this template to check the model's response for safety and security risks
before it is returned to the user. The name must be in the format
projects/{project}/locations/{location}/templates/{template}.
Declaration
[JsonProperty("responseTemplateName")]
public virtual string ResponseTemplateName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |