ResponseEventStream.AddOutputItemCompaction Method
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.
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.