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/work_with_ai_actions.md
+41-3Lines changed: 41 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,12 @@ With the right permissions, you can view all AI actions configured in the applic
14
14

15
15
16
16
You can narrow down the list of AI actions by filtering it by the status, either Enabled or Disabled, or by the type.
17
-
Out of the box, there are two categories of AI Actions present in the system:
17
+
Out of the box, there are two categories of AI actions present in the system:
18
18
19
19
-**Refine text** - used by default in [online editor](create_edit_content_items.md#ai-assistant) for refining text, for example: "Rewrite text in formal tone"
20
20
-**Generate alternative text** - used by default in the [image asset editing screen](upload_images.md#ai) to generate alternative text, for example: "Generate short alternative description of an image"
21
21
22
-
It may happen that a set of sample AI actions has been [installed with the AI Actions package]([[= developer_doc =]]/ai_actions/install_ai_actions/#install-sample-ai-action-configurations-optional), and there is a number of existing AI actions that you can modify and clone.
22
+
It may happen that a set of sample AI actions has been [installed with the AI actions package]([[= developer_doc =]]/ai_actions/install_ai_actions/#install-sample-ai-action-configurations-optional), and there is a number of existing AI actions that you can modify and clone.
23
23
24
24
!!! note "Custom action types"
25
25
@@ -88,7 +88,7 @@ You can create AI actions that perform actions of different types, using differe
88
88
89
89
-**Language** - sets the base language for the AI action
90
90
-**Action type** - sets an action type to serve as a template for the AI action, for example, **Refine text**
91
-
-**Model** - sets the AI model used to process the requests resulting from this AI action
91
+
-**Action handler** - sets the AI model used to process the requests resulting from this AI action
92
92
93
93
1. In the **Global properties** section, set the name and identifier of the AI action.
94
94
@@ -103,6 +103,44 @@ For a list of available settings, see [Edit existing AI actions](#edit-existing-
## Create AI actions that use [[= product_name_connect =]]
107
+
108
+
If your organization uses [[= product_name_connect =]], you can build multi-step scenarios that define the logic needed to process your input data, for example, by merging the output of multiple AI services.
109
+
One such example could be sending out a text for translation by one service, and then to another to make sure that the resulting translation is written in the right tone.
To use AI actions that interface with [[= product_name_connect =]], you must first [configure and initiate the connection]([[= developer_doc =]]/ai_actions/install_ai_actions/#configure-access-to-ibexa-connect), and [define templates](https://doc.ibexa.co/projects/connect/en/latest/scenarios/scenario_templates/#creating-templates) and/or [scenarios](https://doc.ibexa.co/projects/connect/en/latest/scenarios/creating_a_scenario/) in [[= product_name_connect =]].
114
+
115
+
1\. Navigate to the Admin Panel and select **AI actions**.
116
+
117
+
2\. In the **AI actions** list, click **Create**.
118
+
119
+
3\. In the slide-out pane, make choices like in [Create new AI actions](#create-new-ai-actions) but in the **Action handler** field, select the model that uses an [[= product_name_connect =]] scenario to process the request, for example `connect-image-to-text`, and then click **Create**.
4\. In the **Global properties** area, set the required properties.
124
+
125
+
5\. In the **Settings** area, select an existing scenario from a drop-down list.
126
+
The list contains all scenarios that exist in [[= product_name_connect =]].
127
+
They may be incompatible with the selected action type and require adjustments on the [[= product_name_connect =]] side.
128
+
129
+
6\. Optionally, if there are no scenarios for the selected action type, or you want to create a custom scenario, click **Create scenario based on template** and select a template from a drop-down list.
130
+
131
+
If you do so, when you save the new AI action, a new scenario is automatically created.
132
+
You must then fine-tune its settings in [[= product_name_connect =]].
Click **Go to Connect** to review all scenarios that exist in [[= product_name_connect =]].
139
+
140
+
7\. Click **Save and close** to apply the changes or **Discard** to discard them and close the window.
141
+
142
+
After you save the AI action, you can click its name in the AI actions list and see all the information, such as Scenario ID, webhook URL, or scenario label, which you may needed when working with scenarios in [[= product_name_connect =]].
143
+
106
144
## Duplicate AI actions
107
145
108
146
You can duplicate existing actions, for example, to create a variant version of an action with slightly different settings.
0 commit comments