ResponseReasoningSummaryPartDoneEvent 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 reasoning summary part is completed.
public class ResponseReasoningSummaryPartDoneEvent : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEvent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseReasoningSummaryPartDoneEvent>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseReasoningSummaryPartDoneEvent>
type ResponseReasoningSummaryPartDoneEvent = class
inherit ResponseStreamEvent
interface IUtf8JsonSerializable
interface IJsonModel<ResponseReasoningSummaryPartDoneEvent>
interface IPersistableModel<ResponseReasoningSummaryPartDoneEvent>
Public Class ResponseReasoningSummaryPartDoneEvent
Inherits ResponseStreamEvent
Implements IJsonModel(Of ResponseReasoningSummaryPartDoneEvent), IPersistableModel(Of ResponseReasoningSummaryPartDoneEvent)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ResponseReasoningSummaryPartDoneEvent() |
Initializes a new instance of ResponseReasoningSummaryPartDoneEvent for deserialization. |
| ResponseReasoningSummaryPartDoneEvent(Int32, String, Int32, Int32, ReasoningItemSummaryPart) |
Initializes a new instance of ResponseReasoningSummaryPartDoneEvent. |
| ResponseReasoningSummaryPartDoneEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, String, Int32, Int32, ReasoningItemSummaryPart) |
Initializes a new instance of ResponseReasoningSummaryPartDoneEvent. |
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 completed summary part. 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 |
|---|---|
| DeserializeResponseReasoningSummaryPartDoneEvent(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |