Udostępnij za pośrednictwem


AgentBuilder.WithAzureOpenAIChatCompletion Method

Definition

Define the OpenAI chat completion service (required).

public Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder WithAzureOpenAIChatCompletion (string endpoint, string model, string apiKey, string? version = default);
member this.WithAzureOpenAIChatCompletion : string * string * string * string -> Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder
Public Function WithAzureOpenAIChatCompletion (endpoint As String, model As String, apiKey As String, Optional version As String = Nothing) As AgentBuilder

Parameters

endpoint
String
model
String
apiKey
String
version
String

Returns

AgentBuilder instance for fluid expression.

Applies to