# Google Cloud Dialogflow V2 Client - Class KnowledgeType (2.4.0)

2.4.0 (latest) 2.3.1 2.2.1 2.1.2 2.0.1 1.17.2 1.16.0 1.15.1 1.14.0 1.13.0 1.12.3 1.11.0 1.10.2 1.9.0 1.8.0 1.7.2 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.1 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`

## Namespace

Google \\ Cloud \\ Dialogflow \\ V2 \\ Document

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::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;`