Define entities

更新时间:
复制 MD 格式

Entities are critical building blocks for creating a complete conversation flow. Defining your entities first improves efficiency when you later use them in intents or entry nodes.

Understanding

Entities are critical building blocks for creating a complete conversation flow. Defining your entities first improves efficiency when you later use them in intents or entry nodes.

Recommended approach

What entities do you need to create?

The MECE (Mutually Exclusive, Collectively Exhaustive) principle from The McKinsey Way can help you thoroughly analyze your bot's capabilities and identify all potential entities.

Which entities are not predefined by the system?

For a detailed comparison, see the entity documentation. The system includes common, preset entities. Do not recreate them. Use them directly.

Do the nouns in the entity form a finite set or an infinite set?

If the set is finite and contains only a few dozen items, consider using a standard entity and listing all possible values. If the set is infinite, find patterns among the nouns and use them to create a regular expression entity for better efficiency and accuracy.

Do you clearly understand the difference between standard entities and regular expression entities?

Refer to the entity documentation to understand the differences and improve your efficiency.