|
| 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