ChatRequestMessage interface
An abstract representation of a chat message as provided in a request.
Properties
role | the discriminator possible values: system, user, assistant, tool, function |
Property Details
role
the discriminator possible values: system, user, assistant, tool, function
role: string
Property Value
string
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