VoiceAgentLiveDecisionMessage interface

A user message added to a GPT Live Decision context.

Properties

content

Text or structured content supplied to the Decision backend.

id

Optional identifier assigned to the input message.

role

The author of the Decision input message.

type

The native message discriminator.

Property Details

content

Text or structured content supplied to the Decision backend.

content: string | Record<string, unknown>[]

Property Value

string | Record<string, unknown>[]

id

Optional identifier assigned to the input message.

id?: string

Property Value

string

role

The author of the Decision input message.

role: "user"

Property Value

"user"

type

The native message discriminator.

type: "message"

Property Value

"message"