ChatRequestUserMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A request chat message representing user input to the assistant.
public class ChatRequestUserMessage : Azure.AI.Inference.ChatRequestMessage, System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatRequestUserMessage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatRequestUserMessage>
type ChatRequestUserMessage = class
inherit ChatRequestMessage
interface IJsonModel<ChatRequestUserMessage>
interface IPersistableModel<ChatRequestUserMessage>
Public Class ChatRequestUserMessage
Inherits ChatRequestMessage
Implements IJsonModel(Of ChatRequestUserMessage), IPersistableModel(Of ChatRequestUserMessage)
- Inheritance
- Implements
Constructors
ChatRequestUserMessage(ChatMessageContentItem[]) |
Creates a new instance of ChatRequestUserMessage using a collection of structured content. |
ChatRequestUserMessage(IEnumerable<ChatMessageContentItem>) |
Creates a new instance of ChatRequestUserMessage using a collection of structured content. |
ChatRequestUserMessage(String) |
Creates a new instance of ChatRequestUserMessage using plain text content. |
Properties
Content |
Gets the plain text content associated with this message. Null if the message was instantiated using a multimodal content item collection. |
MultimodalContentItems |
Gets the multimodal content item content associated with this message. Null if the message was instantiated using a plain text content. |