LiveInitialAssistantMessageItemParam interface

An assistant message included in the initial text history of a Live session.

Extends

Properties

content

The message content. Supply exactly one text part for the initial Live conversation history.

id

An optional identifier for this message in the initial conversation history.

role

The author of this history message. Always assistant.

status

The completion status of this initial conversation message.

type

The history item type. Always message.

Property Details

content

The message content. Supply exactly one text part for the initial Live conversation history.

content: (LiveInitialTextContentPartParam | LiveInitialOutputTextContentPartParam)[]

Property Value

id

An optional identifier for this message in the initial conversation history.

id?: string

Property Value

string

role

The author of this history message. Always assistant.

role: "assistant"

Property Value

"assistant"

status

The completion status of this initial conversation message.

status?: LiveInitialMessageStatus

Property Value

type

The history item type. Always message.

type?: "message"

Property Value

"message"