Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Document::KnowledgeType (v1.5.0)

Reference documentation and code samples for the Dialogflow V2 API module Google::Cloud::Dialogflow::V2::Document::KnowledgeType.

The knowledge type of document content.

Constants

KNOWLEDGE_TYPE_UNSPECIFIED

value: 0
The type is unspecified or arbitrary.

FAQ

value: 1
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.

EXTRACTIVE_QA

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

ARTICLE_SUGGESTION

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

AGENT_FACING_SMART_REPLY

value: 4
The document contains agent-facing Smart Reply entries.