You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/generative-apis/faq.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ No, you cannot increase maximum output tokens above [limits for each models](/ge
40
40
These limits are in place to protect you against:
41
41
- Long generation which may be ended by an HTTP timeout. Limits are designed to ensure a model will send its HTTP response in less than 5 minutes.
42
42
- Uncontrolled billing, as several models are known to be able to enter infinite generation loops (specific prompts can make the model generate the same sentence over and over, without stopping at all).
43
-
If you require higher maximum output tokens, you can use [Managed Inference](https://console.scaleway.com/inference/deployments) where these limts do not apply (as your bill will be limited by the size of your deployment).
43
+
If you require higher maximum output tokens, you can use [Managed Inference](https://console.scaleway.com/inference/deployments) where these limits do not apply (as your bill will be limited by the size of your deployment).
44
44
45
45
### Can I use OpenAI libraries and APIs with Scaleway's Generative APIs?
46
46
Yes, Scaleway's Generative APIs are designed to be compatible with OpenAI libraries and SDKs, including the OpenAI Python client library and LangChain SDKs. This allows for seamless integration with existing workflows.
Copy file name to clipboardExpand all lines: pages/generative-apis/how-to/query-language-models.mdx
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Scaleway's Generative APIs service allows users to interact with powerful langua
13
13
14
14
There are several ways to interact with language models:
15
15
- The Scaleway [console](https://console.scaleway.com) provides complete [playground](/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.
16
-
- Via the [Chat API](/generative-apis/how-to/query-language-models/#querying-language-models-via-api)
16
+
- Via the [Chat Completions API](https://www.scaleway.com/en/developers/api/generative-apis/#path-chat-completions-create-a-chat-completion) or the [Responses API](https://www.scaleway.com/en/developers/api/generative-apis/#path-responses-beta-create-a-response)
17
17
18
18
<Requirements />
19
19
@@ -39,7 +39,22 @@ The web playground displays.
39
39
40
40
## Querying language models via API
41
41
42
-
The [Chat API](/generative-apis/api-cli/using-chat-api/) is an OpenAI-compatible REST API for generating and manipulating conversations.
42
+
Both the [Chat Completions API](https://www.scaleway.com/en/developers/api/generative-apis/#path-chat-completions-create-a-chat-completion) and the [Responses API](https://www.scaleway.com/en/developers/api/generative-apis/#path-responses-beta-create-a-response) are an OpenAI-compatible REST APIs for generating and manipulating conversations.
43
+
44
+
### Chat Completions API or Responses API?
45
+
46
+
The table below compares the Chat Completions API to the Responses API. TODO CONTINUE HERE
|**Description | Unified API for model responses (successor to Chat + Assistants). Offers tool-calling by built-in tools (e.g. web or file search) while the model generates a responses, though currently only `function` tools are supported by Scaleway. | Older API for chat-style completions. Offers only `function` tool-calling. |
Copy file name to clipboardExpand all lines: pages/generative-apis/quickstart.mdx
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,6 @@ No need to configure hardware or deploy your own models.
14
14
15
15
Hosted in European data centers and priced competitively per million tokens used, these APIs enable efficient and scalable integration of AI capabilities into your applications.
16
16
17
-
<Messagetype="important">
18
-
This service is free while in beta. [Specific terms and conditions](https://www.scaleway.com/en/contracts/) apply.
19
-
</Message>
20
-
21
17
<Requirements />
22
18
23
19
- A Scaleway account logged into the [console](https://console.scaleway.com)
0 commit comments