Package com.azure.ai.openai.models
Class AzureCognitiveSearchQueryType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AzureCognitiveSearchQueryType>
com.azure.ai.openai.models.AzureCognitiveSearchQueryType
public final class AzureCognitiveSearchQueryType
extends com.azure.core.util.ExpandableStringEnum<AzureCognitiveSearchQueryType>
The type of Azure Cognitive Search retrieval query that should be executed when using it as an Azure OpenAI chat
extension.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AzureCognitiveSearchQueryTypeRepresents the semantic query parser for advanced semantic modeling.static final AzureCognitiveSearchQueryTypeRepresents the default, simple query parser.static final AzureCognitiveSearchQueryTypeRepresents vector search over computed data.static final AzureCognitiveSearchQueryTypeRepresents a combination of semantic search and vector data querying.static final AzureCognitiveSearchQueryTypeRepresents a combination of the simple query strategy with vector data. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a AzureCognitiveSearchQueryType from its string representation.values()Gets known AzureCognitiveSearchQueryType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, 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
-
AzureCognitiveSearchQueryType
Deprecated.Use thefromString(String)factory method.Creates a new instance of AzureCognitiveSearchQueryType value.
-
-
Method Details
-
fromString
Creates or finds a AzureCognitiveSearchQueryType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AzureCognitiveSearchQueryType.
-
values
Gets known AzureCognitiveSearchQueryType values.- Returns:
- known AzureCognitiveSearchQueryType values.
-
fromString(String)factory method.