Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class KnowledgeType.
The knowledge type of document content.
Protobuf type google.cloud.dialogflow.v2.Document.KnowledgeType
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
KNOWLEDGE_TYPE_UNSPECIFIED
Value: 0
The type is unspecified or arbitrary.
Generated from protobuf enum KNOWLEDGE_TYPE_UNSPECIFIED = 0;
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.
Generated from protobuf enum FAQ = 1;
EXTRACTIVE_QA
Value: 2
Documents for which unstructured text is extracted and used for question answering.
Generated from protobuf enum EXTRACTIVE_QA = 2;
ARTICLE_SUGGESTION
Value: 3
The entire document content as a whole can be used for query results.
Only for Contact Center Solutions on Dialogflow.
Generated from protobuf enum ARTICLE_SUGGESTION = 3;
AGENT_FACING_SMART_REPLY
Value: 4
The document contains agent-facing Smart Reply entries.
Generated from protobuf enum AGENT_FACING_SMART_REPLY = 4;