OpenAIChatClient Constructors

Definition

Overloads

OpenAIChatClient(ChatClient)
OpenAIChatClient(OpenAIClient, String)

OpenAIChatClient(ChatClient)

public:
 OpenAIChatClient(OpenAI::Chat::ChatClient ^ chatClient);
public OpenAIChatClient (OpenAI.Chat.ChatClient chatClient);
new Microsoft.Extensions.AI.OpenAIChatClient : OpenAI.Chat.ChatClient -> Microsoft.Extensions.AI.OpenAIChatClient
Public Sub New (chatClient As ChatClient)

Parameters

chatClient
OpenAI.Chat.ChatClient

Applies to

OpenAIChatClient(OpenAIClient, String)

public:
 OpenAIChatClient(OpenAI::OpenAIClient ^ openAIClient, System::String ^ modelId);
public OpenAIChatClient (OpenAI.OpenAIClient openAIClient, string modelId);
new Microsoft.Extensions.AI.OpenAIChatClient : OpenAI.OpenAIClient * string -> Microsoft.Extensions.AI.OpenAIChatClient
Public Sub New (openAIClient As OpenAIClient, modelId As String)

Parameters

openAIClient
OpenAI.OpenAIClient
modelId
String

Applies to