Share via


KnowledgeRetrievalIntentType Class

public final class KnowledgeRetrievalIntentType
extends ExpandableStringEnum<KnowledgeRetrievalIntentType>

The kind of knowledge base configuration to use.

Field Summary

Modifier and Type Field and Description
static final KnowledgeRetrievalIntentType SEMANTIC

A natural language semantic query intent.

Constructor Summary

Constructor Description
KnowledgeRetrievalIntentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KnowledgeRetrievalIntentType value.

Method Summary

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

Creates or finds a KnowledgeRetrievalIntentType from its string representation.

static Collection<KnowledgeRetrievalIntentType> values()

Gets known KnowledgeRetrievalIntentType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

SEMANTIC

public static final KnowledgeRetrievalIntentType SEMANTIC

A natural language semantic query intent.

Constructor Details

KnowledgeRetrievalIntentType

@Deprecated
public KnowledgeRetrievalIntentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KnowledgeRetrievalIntentType value.

Method Details

fromString

public static KnowledgeRetrievalIntentType fromString(String name)

Creates or finds a KnowledgeRetrievalIntentType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding KnowledgeRetrievalIntentType.

values

public static Collection<KnowledgeRetrievalIntentType> values()

Gets known KnowledgeRetrievalIntentType values.

Returns:

known KnowledgeRetrievalIntentType values.

Applies to