NestedResponseGenerator 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.
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. |