Share via


OutputMessage interface

An output message produced by a model (OTEL gen-ai semantic conventions).

Extends

Properties

finish_reason

Inherited Properties

name
parts
role

Property Details

finish_reason

finish_reason?: string

Property Value

string

Inherited Property Details

name

name?: string

Property Value

string

Inherited From ChatMessage.name

parts

parts: MessagePart[]

Property Value

Inherited From ChatMessage.parts

role

role: string

Property Value

string

Inherited From ChatMessage.role