Partager via


VectorSearchVectorizerKind Class

public final class VectorSearchVectorizerKind
extends ExpandableStringEnum<VectorSearchVectorizerKind>

The vectorization method to be used during query time.

Field Summary

Modifier and Type Field and Description
static final VectorSearchVectorizerKind AZURE_OPEN_AI

Generate embeddings using an Azure OpenAI resource at query time.

static final VectorSearchVectorizerKind CUSTOM_WEB_API

Generate embeddings using a custom web endpoint at query time.

Constructor Summary

Constructor Description
VectorSearchVectorizerKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VectorSearchVectorizerKind value.

Method Summary

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

Creates or finds a VectorSearchVectorizerKind from its string representation.

static Collection<VectorSearchVectorizerKind> values()

Gets known VectorSearchVectorizerKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_OPEN_AI

public static final VectorSearchVectorizerKind AZURE_OPEN_AI

Generate embeddings using an Azure OpenAI resource at query time.

CUSTOM_WEB_API

public static final VectorSearchVectorizerKind CUSTOM_WEB_API

Generate embeddings using a custom web endpoint at query time.

Constructor Details

VectorSearchVectorizerKind

@Deprecated
public VectorSearchVectorizerKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VectorSearchVectorizerKind value.

Method Details

fromString

public static VectorSearchVectorizerKind fromString(String name)

Creates or finds a VectorSearchVectorizerKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VectorSearchVectorizerKind.

values

public static Collection values()

Gets known VectorSearchVectorizerKind values.

Returns:

known VectorSearchVectorizerKind values.

Applies to