Class ChatCompletionsFunctionToolSelection

java.lang.Object
com.azure.ai.openai.models.ChatCompletionsFunctionToolSelection

public final class ChatCompletionsFunctionToolSelection extends Object
A tool selection of a specific, named function tool that will limit chat completions to using the named function.
  • Constructor Details

    • ChatCompletionsFunctionToolSelection

      public ChatCompletionsFunctionToolSelection(String name)
      Creates an instance of ChatCompletionsFunctionToolSelection class.
      Parameters:
      name - the name value to set.
  • Method Details

    • getName

      public String getName()
      Get the name property: The name of the function that should be called.
      Returns:
      the name value.