Api.ai enables programmers to add speech interface to apps and devices, allowing them to understand and perform verbal requests. In Api.ai, an entity is a data type that contains a set of synonyms and a reference value. Synonyms are nothing but ways a specific concept can be expressed in a language.
This action allows you to create a new entity in your Api.ai account. To achieve this, add this action to your canvas, and configure it. Select the appropriate connection for Api.ai. If you haven’t created any connections, click on ‘Add New’ to create one. Then, in the ‘Name’ field, enter the name of the entity that you want to create.
Click on ‘+ Entry’ to add a new entity. Provide the value and synonyms (separated by commas) in the relevant fields. E.g., ‘Value: Lights’; ‘Synonyms: Lights, light, lamp’. You can add multiple entities by adding entries in this action. Once you enter the required details, click on ‘Done’ and run the flow. This will create a new entity in your Api.ai account.
- code number
- errorType string
- id string