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"
Azure SDK for JavaScript
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for