ProjectOpenAIClient.GetProjectResponsesClientForAgentEndpoint 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.
Gets a project responses client that sends requests to the specified agent endpoint.
public virtual Azure.AI.Extensions.OpenAI.ProjectResponsesClient GetProjectResponsesClientForAgentEndpoint(string agentName, string defaultConversationId = default, Azure.AI.Extensions.OpenAI.ProjectOpenAIClientOptions options = default);
abstract member GetProjectResponsesClientForAgentEndpoint : string * string * Azure.AI.Extensions.OpenAI.ProjectOpenAIClientOptions -> Azure.AI.Extensions.OpenAI.ProjectResponsesClient
override this.GetProjectResponsesClientForAgentEndpoint : string * string * Azure.AI.Extensions.OpenAI.ProjectOpenAIClientOptions -> Azure.AI.Extensions.OpenAI.ProjectResponsesClient
Public Overridable Function GetProjectResponsesClientForAgentEndpoint (agentName As String, Optional defaultConversationId As String = Nothing, Optional options As ProjectOpenAIClientOptions = Nothing) As ProjectResponsesClient
Parameters
- agentName
- String
The name of the agent endpoint to use.
- defaultConversationId
- String
The default conversation ID used for response requests.
- options
- ProjectOpenAIClientOptions
The options used to configure the project responses client.
Returns
The project responses client configured for the agent endpoint.