ResponseEventStream Constructors

Definition

Overloads

Name Description
ResponseEventStream()

Initializes a new instance of ResponseEventStream for mocking.

ResponseEventStream(ResponseContext, CreateResponse)

Creates a new event stream that builds its own Response from the request.

ResponseEventStream()

Source:
ResponseEventStream.cs

Initializes a new instance of ResponseEventStream for mocking.

protected ResponseEventStream();
Protected Sub New ()

Applies to

ResponseEventStream(ResponseContext, CreateResponse)

Source:
ResponseEventStream.cs

Creates a new event stream that builds its own Response from the request.

public ResponseEventStream(Azure.AI.AgentServer.Responses.ResponseContext context, Azure.AI.AgentServer.Responses.Models.CreateResponse request);
new Azure.AI.AgentServer.Responses.ResponseEventStream : Azure.AI.AgentServer.Responses.ResponseContext * Azure.AI.AgentServer.Responses.Models.CreateResponse -> Azure.AI.AgentServer.Responses.ResponseEventStream
Public Sub New (context As ResponseContext, request As CreateResponse)

Parameters

context
ResponseContext

Context providing the response ID.

request
CreateResponse

The original create request (used for Model, Instructions, Metadata).

Applies to