Skip to content

/AWS1/CL_QQCHANDOFFAGENTCONF

A collaborator agent configuration in which the Orchestration AI Agent transfers control of the conversation to the collaborator agent.

CONSTRUCTOR

IMPORTING

Required arguments:

io_agenttarget TYPE REF TO /AWS1/CL_QQCAGENTTARGET /AWS1/CL_QQCAGENTTARGET

The collaborator agent to hand off to.

Optional arguments:

io_instruction TYPE REF TO /AWS1/CL_QQCMULTIAGENTINSTRCT /AWS1/CL_QQCMULTIAGENTINSTRCT

The instruction that tells the Orchestration AI Agent when and how to hand off to this collaborator agent.

iv_audiostreamingenabled TYPE /AWS1/QQCBOOLEAN /AWS1/QQCBOOLEAN

Specifies whether the caller's audio is streamed directly to the collaborator agent and the collaborator's audio response is played back during the handoff. This applies only to voice handoffs.

iv_immediatehandoff TYPE /AWS1/QQCBOOLEAN /AWS1/QQCBOOLEAN

Specifies whether the conversation is handed off to this collaborator agent immediately on the first turn, without any orchestration reasoning. At most one handoff in an AI Agent's configuration can set this to true.


Queryable Attributes

agentTarget

The collaborator agent to hand off to.

Accessible with the following methods

Method Description
GET_AGENTTARGET() Getter for AGENTTARGET

instruction

The instruction that tells the Orchestration AI Agent when and how to hand off to this collaborator agent.

Accessible with the following methods

Method Description
GET_INSTRUCTION() Getter for INSTRUCTION

audioStreamingEnabled

Specifies whether the caller's audio is streamed directly to the collaborator agent and the collaborator's audio response is played back during the handoff. This applies only to voice handoffs.

Accessible with the following methods

Method Description
GET_AUDIOSTREAMINGENABLED() Getter for AUDIOSTREAMINGENABLED, with configurable default
ASK_AUDIOSTREAMINGENABLED() Getter for AUDIOSTREAMINGENABLED w/ exceptions if field has
HAS_AUDIOSTREAMINGENABLED() Determine if AUDIOSTREAMINGENABLED has a value

immediateHandoff

Specifies whether the conversation is handed off to this collaborator agent immediately on the first turn, without any orchestration reasoning. At most one handoff in an AI Agent's configuration can set this to true.

Accessible with the following methods

Method Description
GET_IMMEDIATEHANDOFF() Getter for IMMEDIATEHANDOFF, with configurable default
ASK_IMMEDIATEHANDOFF() Getter for IMMEDIATEHANDOFF w/ exceptions if field has no va
HAS_IMMEDIATEHANDOFF() Determine if IMMEDIATEHANDOFF has a value