AppVersionSnapshotGuardrailContentFilter class

Constructors

AppVersionSnapshotGuardrailContentFilter({Input<List<String>?>? bannedContents, Input<List<String>?>? bannedContentsInAgentResponses, Input<List<String>?>? bannedContentsInUserInputs, Input<bool?>? disregardDiacritics, Input<String?>? matchType})
Creates a new AppVersionSnapshotGuardrailContentFilter. bannedContents (Output) bannedContentsInAgentResponses (Output) bannedContentsInUserInputs (Output) disregardDiacritics (Output) matchType (Output)
const
AppVersionSnapshotGuardrailContentFilter.fromMap(Map<String, dynamic> map)
factory

Properties

bannedContents → Input<List<String>?>?
(Output) List of banned phrases. Applies to both user inputs and agent responses.
final
bannedContentsInAgentResponses → Input<List<String>?>?
(Output) List of banned phrases. Applies only to agent responses.
final
bannedContentsInUserInputs → Input<List<String>?>?
(Output) List of banned phrases. Applies only to user inputs.
final
disregardDiacritics → Input<bool?>?
(Output) If true, diacritics are ignored during matching.
final
hashCode → int
The hash code for this object.
no setterinherited
matchType → Input<String?>?
(Output) Match type for the content filter. Possible values: SIMPLE_STRING_MATCH WORD_BOUNDARY_STRING_MATCH REGEXP_MATCH
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