Skip to content

Commit bb4013f

Browse files
authored
Apply suggestions from code review
1 parent d0dcee1 commit bb4013f

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

pages/generative-apis/reference-content/integrating-generative-apis-with-popular-tools.mdx

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -197,18 +197,17 @@ Chatbox AI is a powerful AI client and smart assistant, compatible with Scaleway
197197

198198
## Bolt.diy (code generation)
199199

200-
Bolt.diy is a software enabling user to create applications from prompt.
201-
202-
To use Bolt.diy with Scaleway's Generative APIs, you can:
203-
- [Install and launch Bolt.diy locally](https://github.com/stackblitz-labs/bolt.diy?tab=readme-ov-file#setup)
204-
- In Bolt interface, click the icon next to the Bolt logo to display the sidebar.
205-
- Click the cogwheel icon in the bottom left corner of the sidebar to open **Settings**.
206-
- Click **Local Providers** to add a provider configuration.
207-
- Toggle the switch next to **OpenAILike** to enable it and add the Scaleway API endpoint: `https://api.scaleway.ai/v1` as base URL.
208-
- In Bolt main menu, you can now select `OpenAILike` and add your **Scaleway Secret Key** as `OpenAILike API Key`.
209-
- You can now also select one of the supported models from Scaleway Generative APIs. We suggest you start with `llama-3.1-8b-instruct` as Bolt requires significant amount of output tokens (8000 by default), which can take a long time to generate and may not be supported by bigger models.
210-
211-
You can now enter a prompt and see your application being generated.
200+
Bolt.diy is a software enabling users to create web applications (Node.js / React) from the prompt.
201+
202+
1. Install and launch Bolt.diy locally. Follow the setup instructions provided in the [Bolt.diy GitHub repository](https://github.com/stackblitz-labs/bolt.diy?tab=readme-ov-file#setup).
203+
2. Once Bolt.diy is running, open the interface in your web browser.
204+
3. Click the icon next to the Bolt logo to display the sidebar.
205+
4. Click the cogwheel icon in the sidebar's bottom left corner to open the **Settings**.
206+
5. Click **Local Providers** to add a new external provider configuration.
207+
6. Toggle the switch next to **OpenAILike** to enable it. Then, enter the Scaleway API endpoint: `https://api.scaleway.ai/v1` as the base URL.
208+
7. In Bolt's main menu, select `OpenAILike` and input your **Scaleway Secret Key** as the `OpenAILike API Key`.
209+
8. Select one of the supported models from Scaleway Generative APIs. For best results with Bolt.diy, which requires a significant amount of output tokens (8000 by default), start with the `llama-3.1-8b-instruct` model.
210+
9. Enter your prompt in the Bolt.diy interface to see your application being generated.
212211

213212
Alternatively, you can also setup your Scaleway Secret Key by renaming `.env.example` to `.env`, adding corresponding environment variables values and restarting Bolt.diy:
214213
```bash

0 commit comments

Comments
 (0)