Share via


AzureSearchQueryType Class

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 AzureSearchQueryType SEMANTIC

Represents the semantic query parser for advanced semantic modeling.

static final AzureSearchQueryType SIMPLE

Represents the default, simple query parser.

static final AzureSearchQueryType VECTOR

Represents vector search over computed data.

static final AzureSearchQueryType VECTOR_SEMANTIC_HYBRID

Represents a combination of semantic search and vector data querying.

static final AzureSearchQueryType 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 AzureSearchQueryType value.

Method Summary

Modifier and Type Method and Description
static AzureSearchQueryType fromString(String name)

Creates or finds a AzureSearchQueryType from its string representation.

static Collection<AzureSearchQueryType> values()

Gets known AzureSearchQueryType values.

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

Use the fromString(String name) 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.

Applies to