Skip to content

Commit 7ed4832

Browse files
committed
Implement reviewer comments
1 parent 71637fc commit 7ed4832

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

docs/ai_actions/install_ai_actions.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Create an OpenAI account, [get an API key](https://help.openai.com/en/articles/4
3030

3131
Then, in the root folder of your project, modify the `.env` file: find the `OPENAI_API_KEY` variable and replace a placeholder value with the API key that you got from the AI service.
3232

33+
For example:
34+
3335
```bash
3436
###> ibexa/connector-openai ###
3537
OPENAI_API_KEY=sk-svcacct-AFCrCt1h2s3i4s5i6s7t8h9e0a1p2i3c4o5d6e
@@ -40,7 +42,7 @@ OPENAI_API_KEY=sk-svcacct-AFCrCt1h2s3i4s5i6s7t8h9e0a1p2i3c4o5d6e
4042

4143
First, get the credentials by contacting [Ibexa Support](https://support.ibexa.co).
4244

43-
### Create team
45+
#### Create team
4446

4547
In [[= product_name_connect =]], set up the account, and [create a team](https://doc.ibexa.co/projects/connect/en/latest/access_management/teams/#creating-teams).
4648
Navigate to the team details page and note down the numerical value of the **Team id** variable.
@@ -62,6 +64,8 @@ Copy the token code that appears next to the label.
6264
In the root folder of your project, modify the `.env` file.
6365
Replace a placeholder value of the `IBEXA_CONNECT_TOKEN` variable with the token that you got from [[= product_name_connect =]] and provide a value of the `IBEXA_CONNECT_TEAM_ID` variable.
6466

67+
For example:
68+
6569
```bash
6670
###> ibexa/connect ###
6771
IBEXA_CONNECT_HOST=https://connect.ibexa.co
@@ -76,11 +80,17 @@ IBEXA_CONNECT_TEAM_ID=2
7680

7781
#### Initiate integration
7882

79-
Initiate the models provided by the handler by issuing the `php bin/console ibexa:connect:init-connect-ai <team_id> <language> <model list>` command.
83+
Initiate the models provided by the handler by issuing the following command:
84+
85+
```bash
86+
php bin/console ibexa:connect:init-connect-ai <team_id> <language> <model list>
87+
```
8088

8189
For example:
8290

83-
`php bin/console ibexa:connect:init-connect-ai 2 en connect-image-to-text connect-text-to-text`
91+
```bash
92+
php bin/console ibexa:connect:init-connect-ai 2 en connect-image-to-text connect-text-to-text
93+
```
8494

8595
!!! note "Support for multiple [[= product_name_connect =]] languages"
8696

0 commit comments

Comments
 (0)