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/ai_actions_guide.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Wherever you look, artificial intelligence becomes more and more important by en
12
12
AI Actions is an extensible solution for integrating features provided by AI services into your workflows, all managed through a user-friendly interface.
13
13
14
14
Out-of-the-box, AI Actions solution includes two essential components: a framework package and an OpenAI connector package.
15
+
The Anthropic connector is also available - as an [LTS update](editions.md#lts-updates).
15
16
16
17
AI Actions can integrate with [[[= product_name_connect =]]]([[= connect_doc =]]/general/ibexa_connect/), to give you an opportunity to build complex data transformation workflows without having to rely on custom code.
17
18
From the developer's perspective, the integration removes the burden of maintaining third-party AI handlers, and accelerates the deployment of AI-based solutions.
@@ -34,7 +35,7 @@ To begin using AI Actions, you must first [perform the initial configuration](co
34
35
35
36
### Prerequisites
36
37
37
-
The OpenAI connector requires that you first [get an API key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key) and make sure that you [set up a billing method](https://help.openai.com/en/articles/9038407-how-can-i-set-up-billing-for-my-account).
38
+
Connectors with external AI services delivered by [[= product_name_base =]] require that you first install them, and [configure other settings, such as an API key and billing method](configure_ai_actions.md).
38
39
39
40
Integration with [[= product_name_connect =]] requires that you first [get the credentials]([[= connect_doc =]]/general/ibexa_connect/#access-ibexa-connect) to your account, and the [API token](configure_ai_actions.md#create-token).
Copy file name to clipboardExpand all lines: docs/ai_actions/configure_ai_actions.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,50 @@ The AI actions come with sample AI action configurations to quickly get you star
32
32
33
33
Based on these examples, which reflect the most common use cases, you can learn to configure your own AI actions with greater ease.
34
34
35
+
## Install Anthropic connector [[% include 'snippets/lts-update_badge.md' %]]
36
+
37
+
Run the following command to install the package:
38
+
39
+
```bash
40
+
composer require ibexa/connector-anthropic
41
+
```
42
+
43
+
This command adds the feature code, including basic handlers that let you refine text or generate alternative text for images.
44
+
45
+
To use the connector with the Anthropic services, you need to create an account, make sure that you [set up a billing method](https://support.claude.com/en/articles/8325618-paid-plan-billing-faqs), and get an API key.
46
+
47
+
1. Log in to your [Anthropic Claude console](https://console.anthropic.com/login).
48
+
49
+
2. Go to **API keys** and click **Create Key**.
50
+
51
+
4. Select the workspace, enter a **Key Name** and click **Add**.
52
+
53
+
5. Take a note of the API key, because it is displayed only once.
54
+
55
+
Then, in the root folder of your project, modify the `.env` file: add an `ANTHROPIC_API_KEY` variable and populate its value with the API key that you got from the AI service.
56
+
57
+
```bash
58
+
###> ibexa/connector-anthropic ###
59
+
ANTHROPIC_API_KEY=<your_api_key>
60
+
###< ibexa/connector-anthropic ###
61
+
```
62
+
63
+
By default, when reaching out for responses, the Anthropic connector uses the [Claude Sonnet 4](https://docs.claude.com/en/docs/about-claude/models/overview) model.
64
+
Users can override this setting at runtime when they [edit or create an AI action]([[= user_doc =]]/ai_actions/work_with_ai_actions/#edit-existing-ai-actions).
65
+
You can also change the default values globally.
66
+
To do it, in `config/packages` folder, create a YAML file similar to this example:
LTS Updates are opt-in packages that bring additional features to the [LTS releases](release_process_and_roadmap.md#long-term-support-releases) that they enhance.
65
+
The features brought by LTS Updates become standard parts of the next LTS release.
0 commit comments