AzureSearchQueryType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. openai. models. AzureSearchQueryType
- com.
- com.
public final class AzureSearchQueryType
extends ExpandableStringEnum<AzureSearchQueryType>
The type of Azure Search retrieval query that should be executed when using it as an Azure OpenAI chat extension.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Azure |
SEMANTIC
Represents the semantic query parser for advanced semantic modeling. |
static final
Azure |
SIMPLE
Represents the default, simple query parser. |
static final
Azure |
VECTOR
Represents vector search over computed data. |
static final
Azure |
VECTOR_SEMANTIC_HYBRID
Represents a combination of semantic search and vector data querying. |
static final
Azure |
VECTOR_SIMPLE_HYBRID
Represents a combination of the simple query strategy with vector data. |
Constructor Summary
Constructor | Description |
---|---|
AzureSearchQueryType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Azure |
fromString(String name)
Creates or finds a Azure |
static
Collection<Azure |
values()
Gets known Azure |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
SEMANTIC
public static final AzureSearchQueryType SEMANTIC
Represents the semantic query parser for advanced semantic modeling.
SIMPLE
public static final AzureSearchQueryType SIMPLE
Represents the default, simple query parser.
VECTOR
public static final AzureSearchQueryType VECTOR
Represents vector search over computed data.
VECTOR_SEMANTIC_HYBRID
public static final AzureSearchQueryType VECTOR_SEMANTIC_HYBRID
Represents a combination of semantic search and vector data querying.
VECTOR_SIMPLE_HYBRID
public static final AzureSearchQueryType VECTOR_SIMPLE_HYBRID
Represents a combination of the simple query strategy with vector data.
Constructor Details
AzureSearchQueryType
@Deprecated
public AzureSearchQueryType()
Deprecated
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:
Returns:
values
public static Collection<AzureSearchQueryType> values()
Gets known AzureSearchQueryType values.
Returns: