OutputItemReasoningItemBuilder 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.
Scoped builder for a reasoning output item. Manages the summary part index counter and provides factory methods for creating summary part scopes. Child summary builders are auto-tracked so EmitDone() can build the final reasoning item from their accumulated state.
public class OutputItemReasoningItemBuilder : Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemReasoningItem>
type OutputItemReasoningItemBuilder = class
inherit OutputItemBuilder<OutputItemReasoningItem>
Public Class OutputItemReasoningItemBuilder
Inherits OutputItemBuilder(Of OutputItemReasoningItem)
- Inheritance
Constructors
| Name | Description |
|---|---|
| OutputItemReasoningItemBuilder() |
Initializes a new instance of OutputItemReasoningItemBuilder for mocking. |
Properties
| Name | Description |
|---|---|
| ItemId |
The auto-generated item ID for this output item. (Inherited from OutputItemBuilder<T>) |
| OutputIndex |
The output index assigned to this output item. (Inherited from OutputItemBuilder<T>) |
Methods
| Name | Description |
|---|---|
| AddSummaryPart() |
Creates a reasoning summary part scope with the next summary index. The builder is auto-tracked for inclusion in EmitDone(). |
| EmitAdded() |
Produces a |
| EmitAdded(T) |
Produces a |
| EmitDone() |
Produces a |
| EmitDone(T) |
Produces a |
| SummaryPart(IAsyncEnumerable<String>, CancellationToken) |
Convenience generator that yields the complete summary part sub-item event sequence from streaming chunks (S-053, streaming mode per S-054). Each chunk is emitted as a delta immediately (S-055). |
| SummaryPart(String) |
Convenience generator that yields the complete summary part sub-item event sequence from a single string (S-053, complete-text mode per S-054). |