AssistantCustomerPolicy class

Constructors

AssistantCustomerPolicy({Input<List<AssistantCustomerPolicyBannedPhrase>?>? bannedPhrases, Input<AssistantCustomerPolicyModelArmorConfig?>? modelArmorConfig})
Creates a new AssistantCustomerPolicy. bannedPhrases List of banned phrases. modelArmorConfig Model Armor configuration to be used for sanitizing user prompts and assistant responses.
const
AssistantCustomerPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

bannedPhrases → Input<List<AssistantCustomerPolicyBannedPhrase>?>?
List of banned phrases. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
modelArmorConfig → Input<AssistantCustomerPolicyModelArmorConfig?>?
Model Armor configuration to be used for sanitizing user prompts and assistant responses. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited