Enum Document.KnowledgeType (4.47.0)

public enum Document.KnowledgeType extends Enum<Document.KnowledgeType> implements ProtocolMessageEnum

The knowledge type of document content.

Protobuf enum google.cloud.dialogflow.v2.Document.KnowledgeType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
AGENT_FACING_SMART_REPLY

The document contains agent-facing Smart Reply entries.

AGENT_FACING_SMART_REPLY = 4;

AGENT_FACING_SMART_REPLY_VALUE

The document contains agent-facing Smart Reply entries.

AGENT_FACING_SMART_REPLY = 4;

ARTICLE_SUGGESTION

The entire document content as a whole can be used for query results. Only for Contact Center Solutions on Dialogflow.

ARTICLE_SUGGESTION = 3;

ARTICLE_SUGGESTION_VALUE

The entire document content as a whole can be used for query results. Only for Contact Center Solutions on Dialogflow.

ARTICLE_SUGGESTION = 3;

EXTRACTIVE_QA

Documents for which unstructured text is extracted and used for question answering.

EXTRACTIVE_QA = 2;

EXTRACTIVE_QA_VALUE

Documents for which unstructured text is extracted and used for question answering.

EXTRACTIVE_QA = 2;

FAQ

The document content contains question and answer pairs as either HTML or CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats may fail to be parsed.

CSV must have questions in the first column and answers in the second, with no header. Because of this explicit format, they are always parsed accurately.

FAQ = 1;

FAQ_VALUE

The document content contains question and answer pairs as either HTML or CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats may fail to be parsed.

CSV must have questions in the first column and answers in the second, with no header. Because of this explicit format, they are always parsed accurately.

FAQ = 1;

KNOWLEDGE_TYPE_UNSPECIFIED

The type is unspecified or arbitrary.

KNOWLEDGE_TYPE_UNSPECIFIED = 0;

KNOWLEDGE_TYPE_UNSPECIFIED_VALUE

The type is unspecified or arbitrary.

KNOWLEDGE_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()