Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions ai-data/generative-apis/how-to/query-code-models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,30 @@ dates:

Scaleway's Generative APIs service allows users to interact with powerful code models hosted on the platform.

Code models are inherently language models specialized in **understanding code**, **generating code** and **fixing code**.
Code models are inherently [language models](/ai-data/generative-apis/how-to/query-language-models/) specialized in **understanding code**, **generating code** and **fixing code**.

As such, they will be available through the same interfaces as language models:
- The Scaleway [console](https://console.scaleway.com) provides complete [playground](/ai-data/generative-apis/how-to/query-language-models/#accessing-the-playground), aiming to test models, adapt parameters, and observe how these changes affect the output in real-time.
- Via the [Chat API](/ai-data/generative-apis/how-to/query-language-models/#querying-language-models-via-api)

For more information on how to query language models, read [our dedicated documentation](/ai-data/generative-apis/how-to/query-language-models/).

Code models are also ideal AI assistants when added to IDEs (integrated development environments).
Code models are also ideal AI assistants when **added to IDEs** (integrated development environments).

<Macro id="requirements" />

- A Scaleway account logged into the [console](https://console.scaleway.com)
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- A valid [API key](/identity-and-access-management/iam/how-to/create-api-keys/) for API authentication
- An IDE such as VS Code or JetBrains
- An IDE such as Visual Studio Code or JetBrains

## Install Continue in your IDE

[Continue](https://www.continue.dev/) is an [open-source code assistant](https://github.com/continuedev/continue) to connect AI models to your IDE.

To get Continue, simply hit `install`
- on the [Continue extension page in Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Continue.continue)
- or on the [Continue extension page in JetBrains Marketplace](https://plugins.jetbrains.com/plugin/22707-continue)
To get Continue, simply hit `install` in your IDE's marketplace:
- [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Continue.continue)
- [JetBrains Marketplace](https://plugins.jetbrains.com/plugin/22707-continue)

## Configure Scaleway as an API provider in Continue

Expand All @@ -49,14 +50,13 @@ Here is an example configuration with Scaleway's OpenAI-compatible provider:
"title": "Qwen2.5-coder",
"apiBase": "https://api.scaleway.ai/v1/",
"provider": "openai",
"apiKey": "###SCW SECRET KEY###",
"useLegacyCompletionsEndpoint": false
"apiKey": "###SCW SECRET KEY###"
}
]
```

<Message type="tip">
The config.json file is typically stored as $HOME/.continue/config.json on Linux/macOS systems, and %USERPROFILE%\.continue\config.json on Windows.
The config.json file is typically stored as `~/.continue/config.json` on Linux/macOS systems, and `%USERPROFILE%\.continue\config.json` on Windows.
</Message>

Read more about how to set up your `config.json` on the [official Continue documentation](https://docs.continue.dev/reference).
Expand Down
Loading