Class AzureSearchQueryType

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

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

    • SIMPLE

      public static final AzureSearchQueryType SIMPLE
      Represents the default, simple query parser.
    • SEMANTIC

      public static final AzureSearchQueryType SEMANTIC
      Represents the semantic query parser for advanced semantic modeling.
    • VECTOR

      public static final AzureSearchQueryType VECTOR
      Represents vector search over computed data.
    • VECTOR_SIMPLE_HYBRID

      public static final AzureSearchQueryType VECTOR_SIMPLE_HYBRID
      Represents a combination of the simple query strategy with vector data.
    • VECTOR_SEMANTIC_HYBRID

      public static final AzureSearchQueryType VECTOR_SEMANTIC_HYBRID
      Represents a combination of semantic search and vector data querying.
  • Constructor Details

    • AzureSearchQueryType

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

    • fromString

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

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