RealtimeResponseInputMessageUser interface

モデルインターフェースRealtimeResponseInputMessageUser。

Extends

プロパティ

content

応答入力コンテキストに含まれるユーザーのテキスト、音声、または画像コンテンツ。

id

省略可能なクライアント ID。 root値は予約されています。

role

メッセージ作成者の役割。 常に user です。

status

オプションの入力状態。 省略または null の既定値は完了です。

type

アイテムの種類。 常に message です。

プロパティの詳細

content

応答入力コンテキストに含まれるユーザーのテキスト、音声、または画像コンテンツ。

content: (RealtimeResponseInputText | RealtimeResponseInputAudio | RealtimeResponseInputImage)[]

プロパティ値

id

省略可能なクライアント ID。 root値は予約されています。

id?: string

プロパティ値

string

role

メッセージ作成者の役割。 常に user です。

role: "user"

プロパティ値

"user"

status

オプションの入力状態。 省略または null の既定値は完了です。

status?: "completed" | "incomplete"

プロパティ値

"completed" | "incomplete"

type

アイテムの種類。 常に message です。

type: "message"

プロパティ値

"message"