AI Actions
3min
AI Actions are a way to train Enjo AI Agents to interact with external applications via RESTful APIs calls or using custom code. They convert natural language text into data retrieval (e.g. query a HRMS application) or taking action in another application (e.g. reset password in Okta).
- AI Agents decide which AI Action is relevant to the user’s question
- AI Action typically takes confirmation from the user to execute the action
- AI Action queries the user for any missing information to execute the action
- AI action executes the action and confirms to the user in natural language
There are 2 types of AI Actions - API Action and Code Action. API Actions use an external API directly to execute the action in another application. Code Action uses NodeJS code to execute the action in the external application.
- AI Agent is not calling the AI action or calling the wrong AI Action - Make sure the descriptions of the AI Actions are clear. Include as many variations of user questions in “Question variations” including difficult / ambiguous versions.
- AI Action is not using the parameters correctly - Add or modify the descriptions of the parameters in the AI Action
- AI Action is not working or giving an error - use Postman or similar 3rd party service to debug the API
Updated 02 Sep 2024
Did this page help you?