Enum RetrievalStrategy (0.89.0)

public enum RetrievalStrategy extends Enum<RetrievalStrategy> implements ProtocolMessageEnum

Retrieval strategy on how the example is selected to be fed to the prompt.

Protobuf enum google.cloud.dialogflow.cx.v3beta1.RetrievalStrategy

Implements

ProtocolMessageEnum

Static Fields

Name Description
DEFAULT

Default retrieval strategy.

DEFAULT = 1;

DEFAULT_VALUE

Default retrieval strategy.

DEFAULT = 1;

NEVER

Example will never be inserted into the prompt.

NEVER = 3;

NEVER_VALUE

Example will never be inserted into the prompt.

NEVER = 3;

RETRIEVAL_STRATEGY_UNSPECIFIED

Not specified. DEFAULT will be used.

RETRIEVAL_STRATEGY_UNSPECIFIED = 0;

RETRIEVAL_STRATEGY_UNSPECIFIED_VALUE

Not specified. DEFAULT will be used.

RETRIEVAL_STRATEGY_UNSPECIFIED = 0;

STATIC

Static example will always be inserted to the prompt.

STATIC = 2;

STATIC_VALUE

Static example will always be inserted to the prompt.

STATIC = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()