Package com.azure.ai.openai.models
Class AzureSearchQueryType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AzureSearchQueryType>
com.azure.ai.openai.models.AzureSearchQueryType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final AzureSearchQueryTypeRepresents the semantic query parser for advanced semantic modeling.static final AzureSearchQueryTypeRepresents the default, simple query parser.static final AzureSearchQueryTypeRepresents vector search over computed data.static final AzureSearchQueryTypeRepresents a combination of semantic search and vector data querying.static final AzureSearchQueryTypeRepresents a combination of the simple query strategy with vector data. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AzureSearchQueryTypefromString(String name) Creates or finds a AzureSearchQueryType from its string representation.static Collection<AzureSearchQueryType> values()Gets known AzureSearchQueryType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SIMPLE
Represents the default, simple query parser. -
SEMANTIC
Represents the semantic query parser for advanced semantic modeling. -
VECTOR
Represents vector search over computed data. -
VECTOR_SIMPLE_HYBRID
Represents a combination of the simple query strategy with vector data. -
VECTOR_SEMANTIC_HYBRID
Represents a combination of semantic search and vector data querying.
-
-
Constructor Details
-
AzureSearchQueryType
Deprecated.Use thefromString(String)factory method.Creates a new instance of AzureSearchQueryType value.
-
-
Method Details
-
fromString
Creates or finds a AzureSearchQueryType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AzureSearchQueryType.
-
values
Gets known AzureSearchQueryType values.- Returns:
- known AzureSearchQueryType values.
-
fromString(String)factory method.