Class ElasticsearchQueryType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ElasticsearchQueryType>
com.azure.ai.openai.models.ElasticsearchQueryType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class ElasticsearchQueryType extends com.azure.core.util.ExpandableStringEnum<ElasticsearchQueryType>
The type of Elasticsearch® retrieval query that should be executed when using it as an Azure OpenAI chat extension.
  • Field Details

  • Constructor Details

    • ElasticsearchQueryType

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

    • fromString

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

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