Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig

Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and assistant responses.

Inheritance
object
GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FailureMode

Optional. Defines the failure mode for Model Armor sanitization.

Declaration
[JsonProperty("failureMode")]
public virtual string FailureMode { get; set; }
Property Value
Type Description
string

ResponseTemplate

Optional. The resource name of the Model Armor template for sanitizing assistant responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the assistant response.

Declaration
[JsonProperty("responseTemplate")]
public virtual string ResponseTemplate { get; set; }
Property Value
Type Description
string

UserPromptTemplate

Optional. The resource name of the Model Armor template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the user prompt.

Declaration
[JsonProperty("userPromptTemplate")]
public virtual string UserPromptTemplate { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX