AssistantCustomerPolicy class
Constructors
-
AssistantCustomerPolicy({Input<
List< ? bannedPhrases, Input<AssistantCustomerPolicyBannedPhrase> ?>AssistantCustomerPolicyModelArmorConfig?> ? modelArmorConfig}) -
Creates a new AssistantCustomerPolicy.
bannedPhrasesList of banned phrases.modelArmorConfigModel 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