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: tutorials/deploy-openwebui-with-generative-apis/index.mdx
+23-22Lines changed: 23 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@ Open WebUI is an open-source frontend that simplifies interactions with AI model
19
19
This tutorial will guide you through:
20
20
21
21
- Configuring Generative APIs on Scaleway
22
-
- Installing Open WebUI Locally
23
-
- Deploying Open WebUI Using Scaleway's Serverless Containers
22
+
- Installing Open WebUI locally
23
+
- Deploying Open WebUI using Scaleway's Serverless Containers
24
24
25
25
26
26
By the end, you'll have a fully functional AI-powered setup.
@@ -35,17 +35,17 @@ By the end, you'll have a fully functional AI-powered setup.
35
35
36
36
## Configuring Generative APIs on Scaleway
37
37
38
-
Scaleway's Generative APIs provide access to advanced AI models via simple API calls. To set up:
38
+
Scaleway's Generative APIs provide access to advanced AI models via simple API calls. Follow the instructions below to set up Generative APIs
39
39
40
40
### Creating an API key
41
41
42
-
1. Log in to the [Scaleway Console](https://console.scaleway.com/).
42
+
1. Log in to the [Scaleway console](https://console.scaleway.com/).
43
43
2. Click on your **Organization name** in the top right corner of the console to display the menu.
44
44
3. Click **API keys** in the pop-up menu.
45
45
4. Click **Generate a New API Key**, provide a name, and store the key securely.
46
46
47
47
<Messagetype="tip">
48
-
For detailed information about creating API keys, refer to [How to create API keys](/iam/how-to/create-api-keys/).
48
+
For detailed information about creating API keys, refer to the [how to create API keys documentation](/iam/how-to/create-api-keys/).
49
49
</Message>
50
50
51
51
### Identifying the API endpoint
@@ -56,11 +56,11 @@ Scaleway assigns a unique endpoint for your Generative API access. This can be f
56
56
https://api.scaleway.ai/<YOUR_PROJECT_ID>/v1
57
57
```
58
58
59
-
If you have not created a dedicated project and are using the `default`project created with your Scaleway Account, you can use directly the following url: `https://api.scaleway.ai/v1`.
60
-
You can also find the exact URL snippet including your `project_id` by visiting [Generative API Playground](https://console.scaleway.com/generative-api/models/fr-par/playground) and clicking on `View Code`.
59
+
If you have not created a dedicated Project and are using the `default`Project created with your Scaleway account, you can use the following url: `https://api.scaleway.ai/v1`.
60
+
You can also find the exact URL snippet including your `project_id` by visiting the [Generative API Playground](https://console.scaleway.com/generative-api/models/fr-par/playground) and clicking **View Code**.
61
61
62
62
<Messagetype="note">
63
-
For more information about your Project ID, refer to our [dedicated documentation](/organizations-and-projects/how-to/create-a-project/).
63
+
Refer to our [dedicated documentation](/organizations-and-projects/how-to/create-a-project/) to retrieve your Project ID.
64
64
</Message>
65
65
66
66
## Installing Open WebUI locally
@@ -69,7 +69,7 @@ Open WebUI provides an easy-to-use interface for interacting with AI models. The
69
69
70
70
### Running Open WebUI with Scaleway integration
71
71
72
-
1. Pull and Run the Docker container:
72
+
1. Pull and run the Docker container:
73
73
74
74
```bash
75
75
docker run -p 3000:8080 \
@@ -88,48 +88,49 @@ Open WebUI provides an easy-to-use interface for interacting with AI models. The
88
88
2. Navigate to `http://localhost:3000` in your browser to access the Open WebUI interface.
89
89
90
90
3. Click **Sign Up** to create an administrator account.
91
-
4. Select a Model from the available Scaleway AI models and start interacting.
91
+
4. Select a model from the available Scaleway AI models and start interacting.
92
92
93
93
For more details, refer to the [Open WebUI Quick Start Guide](https://docs.openwebui.com/getting-started/quick-start/).
94
94
95
-
## Deploying Open WebUI Using Scaleway's Serverless Containers (Optional)
95
+
## Deploying Open WebUI using Scaleway's Serverless Containers (Optional)
96
96
97
97
For cloud-based deployment, Scaleway's Serverless Containers offer a scalable solution.
98
98
99
99
### Deploying on Scaleway via the console
100
100
101
-
1. In the Scaleway Console, navigate to **Serverless** > **Containers**.
101
+
1. In the Scaleway console, navigate to **Serverless** > **Containers**.
102
102
2. Click **Deploy Container** to display the container creation wizard.
103
-
3. Select an external registry and use the image `ghcr.io/open-webui/open-webui:main`.
103
+
3. Select an external registry and use the `ghcr.io/open-webui/open-webui:main` image.
104
104
<Messagetype="note">
105
-
You do not need to configure the port as the default one -`8080` - is the one used by the image from `ghcr.io/open-webui/open-webui:main`.
105
+
You do not need to configure the port as the default one as`8080` is the one used by the image from `ghcr.io/open-webui/open-webui:main`.
106
106
</Message>
107
-
4. Enter a name for your container and configure it's resources.
108
-
5. Click **Advanced options** and configure Secrets:
107
+
4. Enter a name for your container and configure its resources.
108
+
5. Click **Advanced options** and configure secrets:
109
109
- Set `OPENAI_API_BASE_URL` and `OPENAI_API_KEY` with your specific values.
110
110
111
111
6. Click **Deploy container** to launch deployment. Once deployed, note the provided endpoint to access Open WebUI.
112
112
113
113
<Messagetype="note">
114
-
Since Open WebUI default image is around 5GB size, deployment can take a couple of minutes before being ready.
114
+
Since the Open WebUI default image is around 5GB size, deployment can take a couple of minutes before being ready.
115
115
</Message>
116
116
117
117
### Deploying on Scaleway using the ClI
118
118
119
-
#### Ensure your Scaleway namespace exists
119
+
#### Ensure you have a Scaleway Serverless Containers namespace
120
120
121
-
Scaleway Serverless Containers are deployed inside a **namespace**. If you do not have one, create it first:
121
+
Scaleway Serverless Containers are deployed inside a **namespace**. Run the following command to create a namespace:
0 commit comments