ProjectOpenAIClient.GetProjectResponsesClientForAgent 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 uses a default agent.
public virtual Azure.AI.Extensions.OpenAI.ProjectResponsesClient GetProjectResponsesClientForAgent(Azure.AI.Extensions.OpenAI.AgentReference defaultAgent, string defaultConversationId = default);
abstract member GetProjectResponsesClientForAgent : Azure.AI.Extensions.OpenAI.AgentReference * string -> Azure.AI.Extensions.OpenAI.ProjectResponsesClient
override this.GetProjectResponsesClientForAgent : Azure.AI.Extensions.OpenAI.AgentReference * string -> Azure.AI.Extensions.OpenAI.ProjectResponsesClient
Public Overridable Function GetProjectResponsesClientForAgent (defaultAgent As AgentReference, Optional defaultConversationId As String = Nothing) As ProjectResponsesClient
Parameters
- defaultAgent
- AgentReference
The default agent used for response requests.
- defaultConversationId
- String
The default conversation ID used for response requests.
Returns
The project responses client configured with the default agent.