Share via


OpenAIClientProvider.FromClient(OpenAIClient) Method

Definition

Directly provide a client instance.

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

Returns

Applies to