ProjectResponsesClient 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.
Provides response operations for an Azure AI project through the OpenAI responses API.
public class ProjectResponsesClient : OpenAI.Responses.ResponsesClient
type ProjectResponsesClient = class
inherit ResponsesClient
Public Class ProjectResponsesClient
Inherits ResponsesClient
- Inheritance
-
OpenAI.Responses.ResponsesClientProjectResponsesClient
Constructors
| Name | Description |
|---|---|
| ProjectResponsesClient() |
Initializes a new instance of ProjectResponsesClient for mocking. |
| ProjectResponsesClient(AuthenticationTokenProvider, ProjectResponsesClientOptions, AgentReference, String) |
Initializes a new instance of ProjectResponsesClient. |
| ProjectResponsesClient(AuthenticationTokenProvider, ProjectResponsesClientOptions) |
Creates a new instance of ProjectResponsesClient. |
| ProjectResponsesClient(Uri, AuthenticationTokenProvider, AgentReference, String, ProjectResponsesClientOptions) |
Creates a new instance of ProjectResponsesClient with default agent settings. |
| ProjectResponsesClient(Uri, AuthenticationTokenProvider, ProjectResponsesClientOptions) |
Creates a new instance of ProjectResponsesClient. |
Methods
| Name | Description |
|---|---|
| CreateResponse(CreateResponseOptions, CancellationToken) |
Creates a response using the supplied response options. |
| CreateResponse(IEnumerable<ResponseItem>, String, CancellationToken) |
Creates a response from the supplied input items. |
| CreateResponse(String, IEnumerable<ResponseItem>, String, CancellationToken) |
Creates a response for the specified model from the supplied input items. |
| CreateResponse(String, String, CancellationToken) |
Creates a response from user input text. |
| CreateResponse(String, String, String, CancellationToken) |
Creates a response for the specified model from user input text. |
| CreateResponseAsync(CreateResponseOptions, CancellationToken) |
Asynchronously creates a response using the supplied response options. |
| CreateResponseAsync(IEnumerable<ResponseItem>, String, CancellationToken) |
Asynchronously creates a response from the supplied input items. |
| CreateResponseAsync(String, IEnumerable<ResponseItem>, String, CancellationToken) |
Asynchronously creates a response for the specified model from the supplied input items. |
| CreateResponseAsync(String, String, CancellationToken) |
Asynchronously creates a response from user input text. |
| CreateResponseAsync(String, String, String, CancellationToken) |
Asynchronously creates a response for the specified model from user input text. |
| CreateResponseStreaming(CreateResponseOptions, CancellationToken) |
Creates a streaming response using the supplied response options. |
| CreateResponseStreaming(IEnumerable<ResponseItem>, String, CancellationToken) |
Creates a streaming response from the supplied input items. |
| CreateResponseStreaming(String, IEnumerable<ResponseItem>, String, CancellationToken) |
Creates a streaming response for the specified model from the supplied input items. |
| CreateResponseStreaming(String, String, CancellationToken) |
Creates a streaming response from user input text. |
| CreateResponseStreaming(String, String, String, CancellationToken) |
Creates a streaming response for the specified model from user input text. |
| CreateResponseStreamingAsync(CreateResponseOptions, CancellationToken) |
Asynchronously creates a streaming response using the supplied response options. |
| CreateResponseStreamingAsync(IEnumerable<ResponseItem>, String, CancellationToken) |
Asynchronously creates a streaming response from the supplied input items. |
| CreateResponseStreamingAsync(String, IEnumerable<ResponseItem>, String, CancellationToken) |
Asynchronously creates a streaming response for the specified model from the supplied input items. |
| CreateResponseStreamingAsync(String, String, CancellationToken) |
Asynchronously creates a streaming response from user input text. |
| CreateResponseStreamingAsync(String, String, String, CancellationToken) |
Asynchronously creates a streaming response for the specified model from user input text. |
| GetProjectResponses(AgentReference, String, Nullable<Int32>, String, String, String, CancellationToken) |
Gets project responses, optionally filtered by agent or conversation. |
| GetProjectResponsesAsync(AgentReference, String, Nullable<Int32>, String, String, String, CancellationToken) |
Asynchronously gets project responses, optionally filtered by agent or conversation. |