Skip to content

Commit 72927f7

Browse files
committed
Implement formatting changes
1 parent 341e838 commit 72927f7

File tree

9 files changed

+47
-19
lines changed

9 files changed

+47
-19
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
CREATE TABLE ibexa_action_configuration (id SERIAL NOT NULL, identifier VARCHAR(64) NOT NULL, type VARCHAR(32) NOT NULL, enabled BOOLEAN NOT NULL, action_type_options JSON DEFAULT NULL, action_handler_options JSON DEFAULT NULL, action_handler_identifier VARCHAR(64) DEFAULT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, updated_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, PRIMARY KEY(id));
2+
CREATE INDEX ibexa_action_configuration_identifier_idx ON ibexa_action_configuration (identifier);
3+
CREATE INDEX ibexa_action_configuration_enabled_idx ON ibexa_action_configuration (enabled);
4+
CREATE UNIQUE INDEX ibexa_action_configuration_identifier_uc ON ibexa_action_configuration (identifier);
5+
COMMENT ON COLUMN ibexa_action_configuration.created_at IS '(DC2Type:datetime_immutable)';
6+
COMMENT ON COLUMN ibexa_action_configuration.updated_at IS '(DC2Type:datetime_immutable)';
7+
CREATE TABLE ibexa_action_configuration_ml (id SERIAL NOT NULL, action_configuration_id INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(190) NOT NULL, description TEXT DEFAULT NULL, PRIMARY KEY(id));
8+
CREATE INDEX ibexa_action_configuration_ml_name_idx ON ibexa_action_configuration_ml (name);
9+
CREATE INDEX ibexa_action_configuration_ml_language_idx ON ibexa_action_configuration_ml (language_id);
10+
CREATE INDEX ibexa_action_configuration_ml_action_configuration_idx ON ibexa_action_configuration_ml (action_configuration_id);
11+
CREATE UNIQUE INDEX ibexa_action_configuration_ml_uidx ON ibexa_action_configuration_ml (action_configuration_id, language_id);
12+
ALTER TABLE ibexa_action_configuration_ml ADD CONSTRAINT ibexa_action_configuration_ml_to_language_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE;
13+
ALTER TABLE ibexa_action_configuration_ml ADD CONSTRAINT ibexa_action_configuration_ml_to_action_configuration_fk FOREIGN KEY (action_configuration_id) REFERENCES ibexa_action_configuration (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE;

docs/ai_actions/ai_actions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
description: AI Actions help editors by automating repetitive tasks.
33
page_type: landing_page
4+
month_change: true
45
---
56

67
# AI Actions

docs/ai_actions/ai_actions_guide.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: AI Actions LTS update helps editors by automating repetitive tasks.
3+
month_change: true
34
---
45

56
# AI Actions product guide
@@ -70,7 +71,7 @@ Website administrators manage AI action configurations in the [**Admin** panel](
7071
It might involve setting specific parameters used by the AI service, a response length, an expense limit, or configuring how the output should be handled.
7172
By making such adjustments, administrators can ensure that the actions are tailored to meet the needs of your organization.
7273

73-
#### Models
74+
#### Model
7475

7576
Once an AI action is defined and configured, it must be executed, and this is where models come into play.
7677
Each model is designed to work with a specific AI service and AI action type pair.

docs/ai_actions/extend_ai_actions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: Extend AI Actions by connecting to other services and adding new capabilities.
3+
month_change: true
34
---
45

56
# Extend AI Actions
-31.6 KB
Loading
-81.6 KB
Loading

docs/ai_actions/install_ai_actions.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: Install the AI Actions LTS update.
3+
month_change: true
34
---
45

56
# Install AI Actions
@@ -37,13 +38,21 @@ OPENAI_API_KEY=sk-svcacct-AFCrCt1h2s3i4s5i6s7t8h9e0a1p2i3c4o5d6e
3738

3839
### Modify the database schema
3940

40-
Create the `add_ai_actions.sql` file that contains the following code:
41+
Create the `add_ai_actions.sql` file that contains the following code.
4142

42-
```sql
43-
[[= include_file('code_samples/ai_actions/config/add_ai_actions.sql') =]]
44-
```
43+
=== "MySQL"
44+
45+
``` sql
46+
[[= include_file('code_samples/ai_actions/config/mysql/add_ai_actions.sql', 0, None, ' ') =]]
47+
```
48+
49+
=== "PostgreSQL"
50+
51+
``` sql
52+
[[= include_file('code_samples/ai_actions/config/postgresql/add_ai_actions.sql', 0, None, ' ') =]]
53+
```
4554

46-
Run the following command. where `<database_name>` is the same name that you defined when you [installed [[= product_name =]]](../getting_started/install_ibexa_dxp.md#change-installation-parameters).
55+
Run the following command, where `<database_name>` is the same name that you defined when you [installed [[= product_name =]]](../getting_started/install_ibexa_dxp.md#change-installation-parameters).
4756

4857
```bash
4958
mysql -u root <database_name> < add_ai_actions.sql

docs/release_notes/ibexa_dxp_v4.6.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,21 @@ description: Ibexa DXP v4.6 brings improvements to Commerce, PIM and Personaliza
1414

1515
**Update**: [v4.5.x to v4.6](https://doc.ibexa.co/en/latest/update_and_migration/from_4.5/update_from_4.5/)
1616

17+
18+
## LTS Updates
19+
20+
### AI Actions LTS update
21+
22+
The AI Actions LTS update enhances the usability and flexibility of [[=product_name=]] v4.6 LTS by harnessing the potential of artificial intelligence to automate time-consuming editorial tasks.
23+
By default, the AI Actions feature can help users with their work in following scenarios:
24+
25+
- Refining text: when editing a content item, users can request that a passage selected in online editor is modified, for example, by adjusting the length of the text, changing its tone, or correcting linguistic errors.
26+
- Generating alternative text: when working with images, users can ask AI to generate alternative text for them, which helps improve accessibility and SEO.
27+
28+
![AI Assistant](../ai_actions/img/ai_assistant.png)
29+
30+
For more information, see [AI Actions product guide](../ai_actions/ai_actions_guide.md).
31+
1732
## Notable changes
1833

1934
### Ibexa Headless
@@ -680,16 +695,4 @@ The following view matchers have been introduced in Ibexa DXP v4.6.0:
680695

681696
| [[= product_name_headless =]] | [[= product_name_exp =]] | [[= product_name_com =]] |
682697
|---------------|------------------|---------------|
683-
| [[[= product_name_headless =]] v4.6](https://github.com/ibexa/headless/releases/tag/v4.6.0) | [[[= product_name_exp =]] v4.6](https://github.com/ibexa/experience/releases/tag/v4.6.0) | [[[= product_name_com =]] v4.6](https://github.com/ibexa/commerce/releases/tag/v4.6.0) |
684-
685-
## AI Actions LTS update
686-
687-
The AI Actions LTS update enhances the usability and flexibility of [[=product_name=]] v4.6 LTS by harnessing the potential of artificial intelligence to automate time-consuming editorial tasks.
688-
By default, the AI Actions feature can help users with their work in following scenarios:
689-
690-
- Refining text: when editing a content item, users can request that a passage selected in online editor is modified, for example, by adjusting the length of the text, changing its tone, or correcting linguistic errors.
691-
- Generating alternative text: when working with images, users can ask AI to generate alternative text for them, which helps improve accessibility and SEO.
692-
693-
![AI Assistant](../ai_actions/img/ai_assistant.png)
694-
695-
For more information, see [AI Actions product guide](../ai_actions/ai_actions_guide.md).
698+
| [[[= product_name_headless =]] v4.6](https://github.com/ibexa/headless/releases/tag/v4.6.0) | [[[= product_name_exp =]] v4.6](https://github.com/ibexa/experience/releases/tag/v4.6.0) | [[[= product_name_com =]] v4.6](https://github.com/ibexa/commerce/releases/tag/v4.6.0) |

0 commit comments

Comments
 (0)