Share via


NestedResponseGenerator Class

Definition

Generates nested stream events for agent responses.

public class NestedResponseGenerator : Azure.AI.AgentServer.Responses.Invocation.Stream.NestedStreamEventGeneratorBase<Azure.AI.AgentServer.Contracts.Generated.Responses.Response>
type NestedResponseGenerator = class
    inherit NestedStreamEventGeneratorBase<Response>
Public Class NestedResponseGenerator
Inherits NestedStreamEventGeneratorBase(Of Response)
Inheritance

Constructors

Name Description
NestedResponseGenerator()

Properties

Name Description
CancellationToken

Gets or initializes the cancellation token for the generation process.

(Inherited from NestedStreamEventGeneratorBase<TAggregate>)
Context

Gets or initializes the agent invocation context.

OutputGenerator

Gets or initializes the output generator for item resources.

Request

Gets or initializes the create response request.

Seq

Gets or initializes the sequence number generator for events.

(Inherited from NestedStreamEventGeneratorBase<TAggregate>)
SubscribeUsageUpdate

Initializes the subscription for usage updates.

Methods

Name Description
Generate()

Generates groups of nested events for the response.

Applies to