You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ai_actions/extend_ai_actions.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,8 @@ The `ActionServiceInterface` service extracts the configuration options from the
105
105
106
106
The following example adds a new Action Handler connecting to a local AI run using [the llamafile project](https://github.com/Mozilla-Ocho/llamafile) which you can use to execute Text-To-Text Actions, such as the built-in "Refine Text" Action.
107
107
108
+
When creating an Action Handler for [[= product_name_connect =]], add the new handler identifier to the [`Ibexa AI handler` custom property](install_ai_actions.md#initiate-integration) in [[= product_name_connect =]] user interface.
109
+
108
110
### Register a custom Action Handler in the system.
109
111
110
112
Create a class implementing the [ActionHandlerInterface](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-Action-ActionHandlerInterface.html) and register it as a service:
The [`language` attribute](https://developers.make.com/api-documentation/api-reference/templates#templates-1) determines the language in which template details such as module names will be displayed in [[= product_name_connect =]]'s UI.
163
163
164
-
### Customize templates
164
+
Then, create the `Ibexa AI handler` custom property in [[= product_name_connect =]] to store the list of available action handlers for this integration.
The `Ibexa AI handler` property attaches to a scenario to store information about the action handler associated with it.
178
+
When creating a new [[= product_name_connect =]]-based AI action, the back office of [[= product_name =]] shows only the existing scenarios that work with selected action handler.
179
+
180
+
### Customize templates
165
181
166
182
Return to the [[= product_name_connect =]] dashboard and modify the **Template for connect...handler**[templates]([[= connect_doc =]]/scenarios/scenario_templates/) by defining the logic needed to process the data.
0 commit comments