Class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorConfig
Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and assistant responses.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorConfig : 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 |