GuardrailAction class
Constructors
-
GuardrailAction({Input<
GuardrailActionGenerativeAnswer?> ? generativeAnswer, Input<GuardrailActionRespondImmediately?> ? respondImmediately, Input<GuardrailActionTransferAgent?> ? transferAgent}) -
Creates a new GuardrailAction.
generativeAnswerThe agent will immediately respond with a generative answer.respondImmediatelyThe agent will immediately respond with a preconfigured response.transferAgentThe agent will transfer the conversation to a different agent.const -
GuardrailAction.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
generativeAnswer
→ Input<
GuardrailActionGenerativeAnswer?> ? -
The agent will immediately respond with a generative answer.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
respondImmediately
→ Input<
GuardrailActionRespondImmediately?> ? -
The agent will immediately respond with a preconfigured response.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transferAgent
→ Input<
GuardrailActionTransferAgent?> ? -
The agent will transfer the conversation to a different agent.
Structure is documented below.
final
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