Interface Agent.Effect<T>

Type Parameters:
T - The type of the message that must be returned by this call.
Enclosing class:
Agent

public static interface Agent.Effect<T>
An Effect is a description of what the runtime needs to do after the command is handled. You can think of it as a set of instructions you are passing to the runtime, which will process the instructions on your behalf.

Each component defines its own effects, which are a set of predefined operations that match the capabilities of that component.

An Agent Effect can:

  • Make a request to the model and return the transformed response.