GuardrailCodeCallback class

Constructors

GuardrailCodeCallback({Input<GuardrailCodeCallbackAfterAgentCallback?>? afterAgentCallback, Input<GuardrailCodeCallbackAfterModelCallback?>? afterModelCallback, Input<GuardrailCodeCallbackBeforeAgentCallback?>? beforeAgentCallback, Input<GuardrailCodeCallbackBeforeModelCallback?>? beforeModelCallback})
Creates a new GuardrailCodeCallback. afterAgentCallback A callback defines the custom logic to be executed at various stages of afterModelCallback A callback defines the custom logic to be executed at various stages of beforeAgentCallback A callback defines the custom logic to be executed at various stages of beforeModelCallback A callback defines the custom logic to be executed at various stages of
const
GuardrailCodeCallback.fromMap(Map<String, dynamic> map)
factory

Properties

afterAgentCallback → Input<GuardrailCodeCallbackAfterAgentCallback?>?
A callback defines the custom logic to be executed at various stages of agent interaction. Structure is documented below.
final
afterModelCallback → Input<GuardrailCodeCallbackAfterModelCallback?>?
A callback defines the custom logic to be executed at various stages of agent interaction. Structure is documented below.
final
beforeAgentCallback → Input<GuardrailCodeCallbackBeforeAgentCallback?>?
A callback defines the custom logic to be executed at various stages of agent interaction. Structure is documented below.
final
beforeModelCallback → Input<GuardrailCodeCallbackBeforeModelCallback?>?
A callback defines the custom logic to be executed at various stages of agent interaction. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
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