Manage entities

You can manage entity types and entities on Knowledge. Knowledge data will be shared with your other Scopes.

Literal Entity Type

The Literal Entity Type consists of multiple Literal Value Blocks. Literal Value used in API interaction and multiple entities that are possible inputs from your customers.

  • Literal Value Block: Each block consist of pairs of one Literal Value and single or multiple Entities.

    • Literal Value: Functions similarly to a key.

    • Entity: Corresponds to the value. The difference from the Regex Entity Type is that the latter uses regular expressions for the entity value, while the Literal Entity Type simply uses a string.

Lemmatize

“Lemmatize” feature makes listing-up the entity value easier. When you don’t activate “lemmatize” feature, if you take the entity value “knife”, AI don’t identify “knives” with the entity value, “knife”. Because the literal form of “knife” and “knives” is not same. But when you activate it, “knife” is enough to cover “knife” and “knives”.

When a word is used in sentences, the word can be presented in various forms. For example, the verb to go can be present as goes in she goes to school every day and as went in she went to school yesterday, and as going in she is going to school now. But as we know, the basic form of them which is used as a dictionary headword is go. The basic form of a word like go is called lemma. And lemmatization means making the various forms into a lemma of the word.

Please refer the examples below.

LemmaVariation

Noun

candle

candle, candles

Verb

go

go, goes, went, gone, going

Adjective

clear

clear, clearer, clearest

Case Sensitive

There's a "Case Sensitive" feature that can be turned on or off. When it's on, exact matches between an input and a predefined entity value are required for recognition. This exact match doesn't just concern the sequence of letters but also their specific case (uppercase or lowercase). So, for example, "apple" and "Apple" would be considered different when this feature is active.

Add Entity Types

  1. Click Add Entity Type.

  2. Select the composition as Literal.

  3. Enter Entity Type name and description.

  4. Click Case Sensitive checkbox.

  5. Enter values for Literal Value Block.

  6. Click Add.

Edit Entity Types

  1. Click the view more menu of the Entity Type.

  2. Click Edit

  3. Click Case Sensitive checkbox.

  4. Click Save.

Add entity types

  1. Click Add Entity Type.

  2. Select the composition as Literal.

  3. Enter entity type name and description.

  4. Enter values for Literal Value Block.

  5. Click Add.

Edit entity types

  1. Open the view more menu of the entity type.

  2. Click Edit.

  3. Edit and click Save.

Delete entity types

  1. Open the view more menu of the entity type.

  2. Click Delete.

Edit Literal Value Blocks

  1. Open the view more menu of the block.

  2. Click Edit.

  3. Edit and click Save.

Delete Literal Value Blocks

  1. Open the view more menu of the block.

  2. Click Delete.

Regex Entity Type

A regex entity type holds Regex Pattern Blocks which consist of a Regular Expression search pattern and its description.

Add entity types

  1. Click Add Entity Type.

  2. Select the composition as Regex.

  3. Enter entity type name and description.

  4. Enter Regex Pattern Block values.

  5. Click Add.

Edit entity types

  1. Open the view more menu of the entity type.

  2. Click Edit.

  3. Edit and click Save.

Delete entity types

  1. Open the view more menu of the entity type.

  2. Click Delete.

Edit Regex Pattern Blocks

  1. Open the view more menu of the block.

  2. Click Edit.

  3. Edit and click Save.

Delete Regex Pattern Blocks

  1. Open the view more menu of the block.

  2. Click Delete.

System Entity Extension

You can view system entities that are eligible for extension in the System (Extensible) tab. You can extend the entity types by adding blocks or extending entities.

Add Blocks to Entity Type

  1. Choose an entity type to extend from the list.

  2. Click Add Literal Value Block (for literal entity type) or Add Regex Pattern Block (for regex entity type).

  3. Enter values for the block.

  4. Click Add.

Extend Entities (Literal Entity Type)

Extending entities is only eligible for literal entity types.

  1. Choose an entity type to extend from the list.

  2. Click Extend Entity from the block to extend.

  3. Enter entities.

  4. Click Extend.

Edit Entity Extensions

  1. Open the view more menu of the entity extension.

  2. Click Edit.

  3. Edit and click Save.

Last updated