AgentBuilder.WithOpenAIChatCompletion(String, String) 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.
Define the OpenAI chat completion service (required).
public Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder WithOpenAIChatCompletion (string model, string apiKey);
member this.WithOpenAIChatCompletion : string * string -> Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder
Public Function WithOpenAIChatCompletion (model As String, apiKey As String) As AgentBuilder
Parameters
- model
- String
- apiKey
- String
Returns
AgentBuilder instance for fluid expression.