ProjectOpenAIClient 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 OpenAI clients scoped to an Azure AI project.
public class ProjectOpenAIClient : OpenAI.OpenAIClient
type ProjectOpenAIClient = class
inherit OpenAIClient
Public Class ProjectOpenAIClient
Inherits OpenAIClient
- Inheritance
-
OpenAI.OpenAIClientProjectOpenAIClient
Constructors
| Name | Description |
|---|---|
| ProjectOpenAIClient() |
Initializes a new instance of ProjectOpenAIClient for mocking. |
| ProjectOpenAIClient(AuthenticationPolicy, ProjectOpenAIClientOptions) |
Initializes a new instance of ProjectOpenAIClient. |
| ProjectOpenAIClient(ClientPipeline, ProjectOpenAIClientOptions) |
Initializes a new instance of ProjectOpenAIClient. |
| ProjectOpenAIClient(ProjectOpenAIClientSettings) |
Initializes a new instance of ProjectOpenAIClient from a ProjectOpenAIClientSettings. |
| ProjectOpenAIClient(Uri, AuthenticationTokenProvider, ProjectOpenAIClientOptions) |
Initializes a new instance of ProjectOpenAIClient. |
Methods
| Name | Description |
|---|---|
| GetProjectConversationsClient() |
Gets a client for project conversation operations. |
| GetProjectFilesClient() |
Gets a client for project file operations. |
| GetProjectResponsesClient() |
Gets a client for project response operations. |
| GetProjectResponsesClientForAgent(AgentReference, String) |
Gets a project responses client that uses a default agent. |
| GetProjectResponsesClientForAgentEndpoint(String, String, ProjectOpenAIClientOptions) |
Gets a project responses client that sends requests to the specified agent endpoint. |
| GetProjectResponsesClientForModel(String, String) |
Gets a project responses client that uses a default model. |
| GetProjectVectorStoresClient() |
Gets a client for project vector store operations. |