Skip to content

Commit 63db58a

Browse files
authored
Update integrating-generative-apis-with-popular-tools.mdx
Add quickstart for Zed AI configuration with Generative APIs.
1 parent 9fb68b6 commit 63db58a

File tree

1 file changed

+49
-1
lines changed

1 file changed

+49
-1
lines changed

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

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ The following table compares AI tools and libraries supported by Scaleway's Gene
2222
| [OpenAI client](#openai-client-libraries) | Popular AI library for natural language processing | Text generation, language translation, text summarization | Low |
2323
| [LangChain](#langchain-rag-and-llm-applications) | Library for building AI applications leveraging RAG | Inference, embeddings, document indexing and retrieval | Medium |
2424
| [LlamaIndex](#llamaindex-advanced-rag-applications) | Library for building advanced AI RAG applications | Knowledge graph building, document retrieval, data indexing | Medium |
25-
| [Continue Dev](#continue-dev-ai-coding-assistance) | Library for AI-powered coding assistance | Code completion, code review | Low |
25+
| [Continue Dev](#continue-dev-ai-coding-assistance) | IDE Extension for AI-powered coding assistance | Code completion, code review | Low |
26+
| [Zed AI](#zed-ai-coding-assistance) | IDE including AI-powered coding assistance | Code completion, code review | Low |
2627
| [Chatbox AI](#chatbox-ai) | Desktop client for generative APIs, available on Windows, Mac, Linux | AI copilot for documents, images, or code| Low |
2728
| [cURL/Python](#custom-http-integrations) | Direct HTTP API calls for custom integrations | Custom applications, data processing | High |
2829

@@ -177,6 +178,53 @@ Continue Dev is a library that provides AI-powered coding assistance. Scaleway's
177178
- [Integrating Continue Dev with IntelliJ IDEA](/generative-apis/reference-content/adding-ai-to-intellij-using-continue/)
178179
</Message>
179180

181+
## Zed AI (coding assistance)
182+
183+
Zed is an IDE (Integrated Development Environment) including AI coding assistance support. Scaleway's Generative APIs supports Zed AI code completion and more.
184+
185+
<Macro id="requirements" />
186+
187+
- A Scaleway account logged into the [console](https://console.scaleway.com)
188+
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
189+
- A valid [API key](/iam/how-to/create-api-keys/) for API authentication
190+
- Installed [Zed](https://zed.dev/) on your local machine
191+
192+
### Configure custom endpoints and models
193+
194+
1. Edit Zed settings located in `settings.json`, and add the following content to it:
195+
```json
196+
{
197+
"language_models": {
198+
"openai": {
199+
"api_url": "https://api.scaleway.ai/v1",
200+
"available_models": [
201+
{
202+
"name": "qwen2.5-coder-32b-instruct",
203+
"display_name": "Qwen 2.5 Coder 32B",
204+
"max_tokens": 128000
205+
}
206+
],
207+
"version": "1"
208+
}
209+
},
210+
"assistant": {
211+
"default_model": {
212+
"provider": "openai",
213+
"model": "qwen2.5-coder-32b-instruct"
214+
},
215+
"version": "2"
216+
}
217+
}
218+
```
219+
220+
This configuration will add a `qwen2.5-coder-32b-instruct` Scaleway hosted model available with the Zed `openai` provider, and use it as default model.
221+
222+
2. Open AI Assistant configuration by either using the command palette and typing `assistant: show configuration` or clicking on the bottom right **Assistant Panel** button and then **Assistant menu** in top right and finally **Configure**.
223+
224+
3. Scroll down to the OpenAI Configuration, and paste your Scaleway Secret Key as API Key credentials. Note that this key will be deleted if you restart Zed. To store it permanently, alternatively, you can also setup your Scaleway Secret Key as `OPENAI_API_KEY` environment variable and restart Zed.
225+
226+
4. Your setup is complete. If you open a new chat and select `Qwen 2.5 Coder 32B` model, you can send text and retrieve model answer. Additionnaly, you can also use [Inline Assist](https://zed.dev/docs/assistant/inline-assistant#:~:text=You%20can%20use%20ctrl%2Denter,even%20within%20the%20terminal%20panel.) feature when editing your code.
227+
180228
## Chatbox AI
181229
182230
Chatbox AI is a powerful AI client and smart assistant, compatible with Scaleway's Generative APIs service. It is available across multiple platforms, including Windows, macOS, Android, iOS, Web, and Linux.

0 commit comments

Comments
 (0)