VoiceAgentServerEventSessionSubagentAborted interface

Wydarzenie serwerowe session.subagent.aborted .

Rozszerzenie

Właściwości

call_id

Identyfikator wywołania funkcji, które zainicjowało konsultację.

consultation_id

Identyfikator konsultacji subagenta.

event_id

Identyfikator zdarzenia generowany przez serwer.

reason

Powód przerwania konsultacji.

subagent_name

Nazwa konsultowanego subagenta.

type

Typ zdarzenia. Zawsze session.subagent.aborted.

Szczegóły właściwości

call_id

Identyfikator wywołania funkcji, które zainicjowało konsultację.

call_id: string

Wartość właściwości

string

consultation_id

Identyfikator konsultacji subagenta.

consultation_id: string

Wartość właściwości

string

event_id

Identyfikator zdarzenia generowany przez serwer.

event_id: string

Wartość właściwości

string

reason

Powód przerwania konsultacji.

reason: VoiceAgentSubagentAbortReason

Wartość właściwości

subagent_name

Nazwa konsultowanego subagenta.

subagent_name: string

Wartość właściwości

string

type

Typ zdarzenia. Zawsze session.subagent.aborted.

type: "session.subagent.aborted"

Wartość właściwości

"session.subagent.aborted"