OutputItemMessage 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.
Message.
public class OutputItemMessage : Azure.AI.AgentServer.Responses.Models.OutputItem, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.OutputItemMessage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.OutputItemMessage>
type OutputItemMessage = class
inherit OutputItem
interface IJsonModel<OutputItemMessage>
interface IPersistableModel<OutputItemMessage>
Public Class OutputItemMessage
Inherits OutputItem
Implements IJsonModel(Of OutputItemMessage), IPersistableModel(Of OutputItemMessage)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| OutputItemMessage(String, MessageStatus, IEnumerable<MessageContent>) |
Creates an OutputItemMessage with the role defaulted to Assistant. |
| OutputItemMessage(String, MessageStatus, MessageRole, IEnumerable<MessageContent>) |
Initializes a new instance of OutputItemMessage. |
Properties
| Name | Description |
|---|---|
| AgentReference |
The agent that created the item. (Inherited from OutputItem) |
| Content |
The content of the message. |
| CreatedBy |
The information about the creator of the item To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). <remarks> Supported types: </remarks>Examples:
|
| Id |
The unique ID of the message. |
| Phase |
Gets or sets the Phase. |
| ResponseId |
The response on which the item is created. (Inherited from OutputItem) |
| Role |
The role of the message. One of |
| Status |
The status of item. One of |
Methods
Explicit Interface Implementations
Extension Methods
| Name | Description |
|---|---|
| GetId(OutputItem) |
Gets the |