OpenAIClientProvider.FromClient(OpenAIClient) 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.
Provides a client instance directly.
public static Microsoft.SemanticKernel.Agents.OpenAI.OpenAIClientProvider FromClient(OpenAI.OpenAIClient client);
static member FromClient : OpenAI.OpenAIClient -> Microsoft.SemanticKernel.Agents.OpenAI.OpenAIClientProvider
Public Shared Function FromClient (client As OpenAIClient) As OpenAIClientProvider
Parameters
- client
- OpenAI.OpenAIClient