ChatRequestUserMessage interface

A request chat message representing user input to the assistant.

Extends

Properties

content

The contents of the user message, with available input types varying by selected model.

role

The chat role associated with this message, which is always 'user' for user messages.

Property Details

content

The contents of the user message, with available input types varying by selected model.

content: string | ChatMessageContentItem[]

Property Value

role

The chat role associated with this message, which is always 'user' for user messages.

role: "user"

Property Value

"user"