Skip to content

Commit c068a6a

Browse files
bene2k1fpagnyRoRoJ
authored
feat(genapi): add tutorial chatbox (#4455)
* feat(genapi): add tutorial chatbox * Update tutorials/configure-chatboxai-with-generative-apis/index.mdx * feat(genapi): tuto * Update tutorials/configure-chatboxai-with-generative-apis/index.mdx * feat(genapi): update doc * Apply suggestions from code review Co-authored-by: Rowena Jones <[email protected]> * fix(genapi): fix wording * fix(genapi): fix wording --------- Co-authored-by: fpagny <[email protected]> Co-authored-by: Rowena Jones <[email protected]>
1 parent 0a7ba92 commit c068a6a

File tree

2 files changed

+99
-3
lines changed

2 files changed

+99
-3
lines changed

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ 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 | Inference, embeddings, document indexing and retrieval | Medium |
2424
| [Continue Dev](#continue-dev-ai-coding-assistance) | Library for AI-powered coding assistance | Code completion, code review | Low |
25+
| [Chatbox AI](#chatbox-ai) | Desktop client for generative APIs, available on Windows, Mac, Linux | AI copilot for documents, images, or code| Low |
2526
| [cURL/Python](#custom-http-integrations) | Direct HTTP API calls for custom integrations | Custom applications, data processing | High |
2627

2728
<Message type="note">
@@ -67,8 +68,7 @@ print(response.choices[0].message.content)
6768
LangChain is a popular library for building AI applications. Scaleway's Generative APIs support LangChain for both inference and embeddings.
6869

6970
<Message type="tip">
70-
Refer to our dedicated documentation for
71-
- [Implementing Retrieval-Augmented Generation (RAG) with LangChain and Scaleway Generative APIs](/tutorials/how-to-implement-rag-generativeapis/)
71+
Refer to our dedicated documentation for [implementing Retrieval-Augmented Generation (RAG) with LangChain and Scaleway Generative APIs](/tutorials/how-to-implement-rag-generativeapis/)
7272
</Message>
7373

7474
## Continue Dev (AI coding assistance)
@@ -81,6 +81,14 @@ Continue Dev is a library that provides AI-powered coding assistance. Scaleway's
8181
- [Integrating Continue Dev with IntelliJ IDEA](/generative-apis/reference-content/adding-ai-to-intellij-using-continue/)
8282
</Message>
8383

84+
## Chatbox AI
85+
86+
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.
87+
88+
<Message type="tip">
89+
Refer to our dedicated documentation for [installing and configuring Chatbox AI with Generative APIs](/tutorials/configure-chatboxai-with-generative-apis/)
90+
</Message>
91+
8492
## Custom HTTP integrations
8593

8694
You can interact with Scaleway's Generative APIs directly using any HTTP client.
@@ -124,4 +132,4 @@ print(response.json()["choices"][0]["message"]["content"])
124132
```
125133
<Message type="tip">
126134
Make sure to replace `<API secret key>` with your actual API key.
127-
</Message>
135+
</Message>
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
meta:
3+
title: Installing and configuring Chatbox AI with Generative APIs
4+
description: This page explains how to install and configure the Chatbox AI application with Scaleway's Generative APIs
5+
content:
6+
h1: Installing and configuring Chatbox AI with Generative APIs
7+
paragraph: This page explains how to install and configure the Chatbox AI application with Scaleway's Generative APIs
8+
tags: chatboxai generative-apis
9+
categories:
10+
- generative-apis
11+
dates:
12+
validation: 2025-02-21
13+
posted: 2025-02-21
14+
---
15+
16+
Chatbox AI is a versatile desktop client compatible with various AI models. It offers installation packages for multiple platforms.
17+
18+
## Installing Chatbox AI
19+
20+
### From pre-built binaries
21+
22+
For most users, the easiest way is to use the pre-built packages available on the [Chatbox AI website](https://chatboxai.app/en) or mobile app stores:
23+
24+
- **Windows:** Download the installer from the [Chatbox AI website](https://chatboxai.app/en) and follow the on-screen instructions.
25+
- **Linux:**
26+
1. Download the AppImage from the [Chatbox AI website](https://chatboxai.app/en).
27+
2. Make it executable:
28+
```sh
29+
chmod +x ChatboxAI.AppImage
30+
```
31+
3. Run the application.
32+
- **macOS:** Choose the appropriate version (Intel or Apple Silicon) from the [Chatbox AI website](https://chatboxai.app/en) and install it.
33+
- **iOS:** Download and install the application from the official [App Store](https://apps.apple.com/app/chatbox-ai/id6471368056).
34+
- **Android:** Download and install the application from [Google Play Store](https://play.google.com/store/apps/details?id=xyz.chatboxapp.chatbox).
35+
36+
### Installing from source (advanced)
37+
38+
For advanced users, Chatbox AI can be built from source:
39+
40+
1. Clone the Chatbox AI repository:
41+
```sh
42+
git clone https://github.com/Bin-Huang/chatbox.git
43+
```
44+
2. Navigate to the project directory:
45+
```sh
46+
cd chatbox
47+
```
48+
3. Install dependencies using `npm`:
49+
```sh
50+
npm install
51+
```
52+
4. Start the application in development mode to verify it is working:
53+
```sh
54+
npm run dev
55+
```
56+
5. Build the application and package the installer for your current platform:
57+
```sh
58+
npm run package
59+
```
60+
6. (Optional) Build installers for all platforms:
61+
```sh
62+
npm run package:all
63+
```
64+
65+
For detailed installation instructions, refer to the [Chatbox GitHub repository](https://github.com/Bin-Huang/chatbox).
66+
67+
## Linking Chatbox AI with Scaleway Generative APIs
68+
69+
To use Scaleway Generative APIs with Chatbox AI, follow these steps:
70+
71+
1. Open the Chatbox AI application on your device.
72+
2. Click the **settings icon** in the application's sidebar.
73+
3. Navigate to the **Model** tab, select **Model provider** dropdown, and configure a new provider:
74+
- Click **Add Custom Provider** and enter:
75+
- **API Mode:** `OpenAI API Compatible`
76+
- **Name:** Scaleway
77+
- **API Host:** `https://api.scaleway.ai/v1/`
78+
- **API Path:** (leave empty)
79+
- **API Key:** Your Scaleway API key
80+
- **Model:** Enter the name of a [supported model](/generative-apis/reference-content/supported-models/).
81+
<Message type="tip">
82+
If you are unsure which model to use, start with `llama-3.1-8b-instruct`.
83+
</Message>
84+
- Leave other parameters at their default values.
85+
4. Save the changes.
86+
5. Start a new conversation and enter a prompt to test the AI model's response.
87+
88+
By following these steps, you have successfully installed Chatbox AI and integrated it with Scaleway’s Generative APIs.

0 commit comments

Comments
 (0)