Udostępnij przez


ItemOutputMessage interface

Komunikat wyjściowy z modelu.

Rozszerza

Właściwości

content

Zawartość komunikatu wyjściowego.

id

Unikatowy identyfikator komunikatu wyjściowego.

role

Rola komunikatu wyjściowego. Zawsze assistant.

status

Stan danych wejściowych komunikatu. in_progressJeden z , completedlub incomplete. Wypełniane, gdy elementy wejściowe są zwracane za pośrednictwem interfejsu API.

type

Typ komunikatu wyjściowego. Zawsze message.

Szczegóły nieruchomości

content

Zawartość komunikatu wyjściowego.

content: OutputMessageContentUnion[]

Wartość nieruchomości

id

Unikatowy identyfikator komunikatu wyjściowego.

id: string

Wartość nieruchomości

string

role

Rola komunikatu wyjściowego. Zawsze assistant.

role: "assistant"

Wartość nieruchomości

"assistant"

status

Stan danych wejściowych komunikatu. in_progressJeden z , completedlub incomplete. Wypełniane, gdy elementy wejściowe są zwracane za pośrednictwem interfejsu API.

status: "in_progress" | "completed" | "incomplete"

Wartość nieruchomości

"in_progress" | "completed" | "incomplete"

type

Typ komunikatu wyjściowego. Zawsze message.

type: "output_message"

Wartość nieruchomości

"output_message"