ResponseEventStream.AddOutputItemCompaction Method

Definition

Creates a compaction output item scope with the next output index and an auto-generated item ID.

public virtual Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemCompactionBody> AddOutputItemCompaction();
abstract member AddOutputItemCompaction : unit -> Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemCompactionBody>
override this.AddOutputItemCompaction : unit -> Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemCompactionBody>
Public Overridable Function AddOutputItemCompaction () As OutputItemBuilder(Of OutputItemCompactionBody)

Returns

A new OutputItemBuilder<T> for the compaction output item.

Applies to