From 72e8928852863c03c3ee1191a3537de6ecc80615 Mon Sep 17 00:00:00 2001 From: Thibault Genaitay Date: Tue, 10 Dec 2024 14:35:05 +0100 Subject: [PATCH] fix(ai): better display --- .../how-to/query-code-models.mdx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ai-data/generative-apis/how-to/query-code-models.mdx b/ai-data/generative-apis/how-to/query-code-models.mdx index c491fccf34..90a0410ce0 100644 --- a/ai-data/generative-apis/how-to/query-code-models.mdx +++ b/ai-data/generative-apis/how-to/query-code-models.mdx @@ -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). - 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 @@ -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###" } ] ``` - 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. Read more about how to set up your `config.json` on the [official Continue documentation](https://docs.continue.dev/reference).