Share via


KnowledgeBaseModelKind Class

public final class KnowledgeBaseModelKind
extends ExpandableStringEnum<KnowledgeBaseModelKind>

The AI model to be used for query planning.

Field Summary

Modifier and Type Field and Description
static final KnowledgeBaseModelKind AZURE_OPEN_AI

Use Azure Open AI models for query planning.

Constructor Summary

Constructor Description
KnowledgeBaseModelKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KnowledgeBaseModelKind value.

Method Summary

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

Creates or finds a KnowledgeBaseModelKind from its string representation.

static Collection<KnowledgeBaseModelKind> values()

Gets known KnowledgeBaseModelKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_OPEN_AI

public static final KnowledgeBaseModelKind AZURE_OPEN_AI

Use Azure Open AI models for query planning.

Constructor Details

KnowledgeBaseModelKind

@Deprecated
public KnowledgeBaseModelKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KnowledgeBaseModelKind value.

Method Details

fromString

public static KnowledgeBaseModelKind fromString(String name)

Creates or finds a KnowledgeBaseModelKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding KnowledgeBaseModelKind.

values

public static Collection<KnowledgeBaseModelKind> values()

Gets known KnowledgeBaseModelKind values.

Returns:

known KnowledgeBaseModelKind values.

Applies to