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. |
name | An optional name for the participant. |
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 | ChatMessageContentItemUnion[]
Property Value
string | ChatMessageContentItemUnion[]
name
An optional name for the participant.
name?: string
Property Value
string
role
The chat role associated with this message, which is always 'user' for user messages.
role: "user"
Property Value
"user"
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript