A single message in a span input or output.

Hierarchy

  • LLMObsSpanMessage

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
content?: string

Text content of the message.

id?: string

Unique identifier of the message.

role?: string

Role of the message sender (e.g., user, assistant, system).

toolCalls?: LLMObsSpanToolCall[]

Tool calls made in this message.

toolResults?: LLMObsSpanToolResult[]

Tool results returned in this message.

Generated using TypeDoc