Class AzureChatExtensionType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<AzureChatExtensionType>
com.azure.ai.openai.models.AzureChatExtensionType

public final class AzureChatExtensionType extends com.azure.core.util.ExpandableStringEnum<AzureChatExtensionType>
A representation of configuration data for a single Azure OpenAI chat extension. This will be used by a chat completions request that should use Azure OpenAI chat extensions to augment the response behavior. The use of this configuration is compatible only with Azure OpenAI.
  • Field Details

  • Constructor Details

    • AzureChatExtensionType

      @Deprecated public AzureChatExtensionType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of AzureChatExtensionType value.
  • Method Details

    • fromString

      public static AzureChatExtensionType fromString(String name)
      Creates or finds a AzureChatExtensionType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding AzureChatExtensionType.
    • values

      public static Collection<AzureChatExtensionType> values()
      Gets known AzureChatExtensionType values.
      Returns:
      known AzureChatExtensionType values.