ResponseReasoningSummaryPartAddedEvent 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.
Emitted when a new reasoning summary part is added.
public class ResponseReasoningSummaryPartAddedEvent : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEvent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseReasoningSummaryPartAddedEvent>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseReasoningSummaryPartAddedEvent>
type ResponseReasoningSummaryPartAddedEvent = class
inherit ResponseStreamEvent
interface IUtf8JsonSerializable
interface IJsonModel<ResponseReasoningSummaryPartAddedEvent>
interface IPersistableModel<ResponseReasoningSummaryPartAddedEvent>
Public Class ResponseReasoningSummaryPartAddedEvent
Inherits ResponseStreamEvent
Implements IJsonModel(Of ResponseReasoningSummaryPartAddedEvent), IPersistableModel(Of ResponseReasoningSummaryPartAddedEvent)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ResponseReasoningSummaryPartAddedEvent() |
Initializes a new instance of ResponseReasoningSummaryPartAddedEvent for deserialization. |
| ResponseReasoningSummaryPartAddedEvent(Int32, String, Int32, Int32, ReasoningItemSummaryPart) |
Initializes a new instance of ResponseReasoningSummaryPartAddedEvent. |
| ResponseReasoningSummaryPartAddedEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, String, Int32, Int32, ReasoningItemSummaryPart) |
Initializes a new instance of ResponseReasoningSummaryPartAddedEvent. |
Properties
| Name | Description |
|---|---|
| ItemId |
The ID of the item this summary part is associated with. |
| OutputIndex |
The index of the output item this summary part is associated with. |
| Part |
The summary part that was added. Please note ReasoningItemSummaryPart is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ReasoningItemSummaryTextPart. |
| SequenceNumber |
The sequence number for this event. (Inherited from ResponseStreamEvent) |
| SummaryIndex |
The index of the summary part within the reasoning summary. |
| Type |
Gets or sets the type. (Inherited from ResponseStreamEvent) |
Methods
| Name | Description |
|---|---|
| DeserializeResponseReasoningSummaryPartAddedEvent(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |