Skip to content

Commit 08f6c35

Browse files
authored
feat(ai): changed domain from scw.cloud to scaleway.com to enable playground (#3771)
1 parent 8a9720e commit 08f6c35

10 files changed

+16
-16
lines changed

ai-data/managed-inference/reference-content/llama-3-70b-instruct.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ curl -s \
6161
-H "Authorization: Bearer <IAM API key>" \
6262
-H "Content-Type: application/json" \
6363
--request POST \
64-
--url "https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/chat/completions" \
64+
--url "https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions" \
6565
--data '{"model":"llama-3-70b-instruct", "messages":[{"role": "user","content": "Sing me a song about Xavier Niel"}], "max_tokens": 500, "top_p": 1, "temperature": 0.7, "stream": false}'
6666
```
6767

ai-data/managed-inference/reference-content/llama-3-8b-instruct.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ curl -s \
6565
-H "Authorization: Bearer <IAM API key>" \
6666
-H "Content-Type: application/json" \
6767
--request POST \
68-
--url "https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/chat/completions" \
68+
--url "https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions" \
6969
--data '{"model":"llama-3-8b-instruct", "messages":[{"role": "user","content": "There is a llama in my garden, what should I do?"}], "max_tokens": 500, "top_p": 1, "temperature": 0.7, "stream": false}'
7070
```
7171

ai-data/managed-inference/reference-content/llama-3.1-70b-instruct.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ curl -s \
6060
-H "Authorization: Bearer <IAM API key>" \
6161
-H "Content-Type: application/json" \
6262
--request POST \
63-
--url "https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/chat/completions" \
63+
--url "https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions" \
6464
--data '{"model":"llama-3.1-70b-instruct", "messages":[{"role": "user","content": "There is a llama in my garden, what should I do?"}], "max_tokens": 500, "temperature": 0.7, "stream": false}'
6565
```
6666

ai-data/managed-inference/reference-content/llama-3.1-8b-instruct.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ curl -s \
6161
-H "Authorization: Bearer <IAM API key>" \
6262
-H "Content-Type: application/json" \
6363
--request POST \
64-
--url "https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/chat/completions" \
64+
--url "https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions" \
6565
--data '{"model":"llama-3.1-8b-instruct", "messages":[{"role": "user","content": "There is a llama in my garden, what should I do?"}], "max_tokens": 500, "temperature": 0.7, "stream": false}'
6666
```
6767

ai-data/managed-inference/reference-content/mistral-7b-instruct-v0.3.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ curl -s \
5454
-H "Authorization: Bearer <IAM API key>" \
5555
-H "Content-Type: application/json" \
5656
--request POST \
57-
--url "https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/chat/completions" \
57+
--url "https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions" \
5858
--data '{"model":"mistral-7b-instruct-v0.3", "messages":[{"role": "user","content": "Explain Public Cloud in a nutshell."}], "top_p": 1, "temperature": 0.7, "stream": false}'
5959
```
6060

ai-data/managed-inference/reference-content/mistral-nemo-instruct-2407.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ curl -s \
6060
-H "Authorization: Bearer <IAM API key>" \
6161
-H "Content-Type: application/json" \
6262
--request POST \
63-
--url "https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/chat/completions" \
63+
--url "https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions" \
6464
--data '{"model":"mistral-nemo-instruct-2407", "messages":[{"role": "user","content": "Sing me a song about Xavier Niel"}], "top_p": 1, "temperature": 0.35, "stream": false}'
6565
```
6666

ai-data/managed-inference/reference-content/mixtral-8x7b-instruct-v0.1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ curl -s \
5656
-H "Authorization: Bearer <IAM API key>" \
5757
-H "Content-Type: application/json" \
5858
--request POST \
59-
--url "https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/chat/completions" \
59+
--url "https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions" \
6060
--data '{"model":"mixtral-8x7b-instruct-v0.1", "messages":[{"role": "user","content": "Sing me a song about Scaleway"}], "max_tokens": 200, "top_p": 1, "temperature": 1, "stream": false}'
6161
```
6262

ai-data/managed-inference/reference-content/openai-compatibility.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The Chat Completions API is designed for models fine-tuned for conversational ta
2323

2424
To invoke Scaleway Managed Inference's OpenAI-compatible Chat API, simply edit your dedicated endpoints with a suffix `/v1/chat/completions`:
2525
```
26-
https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/chat/completions
26+
https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions
2727
```
2828

2929
### OpenAI Python client library
@@ -34,7 +34,7 @@ Use OpenAI's SDK how you normally would.
3434
from openai import OpenAI
3535
3636
client = OpenAI(
37-
base_url='https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/',
37+
base_url='https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/',
3838
api_key='<IAM API key>'
3939
)
4040
@@ -94,11 +94,11 @@ The Embeddings API is designed to get a vector representation of an input that c
9494

9595
Use your dedicated endpoints as follows:
9696
```
97-
https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/embeddings
97+
https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/embeddings
9898
```
9999

100100
```
101-
curl https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/embeddings \
101+
curl https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/embeddings \
102102
-H "Authorization: Bearer $SCW_API_KEY" \
103103
-H "Content-Type: application/json" \
104104
-d '{
@@ -114,7 +114,7 @@ curl https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/embeddings \
114114
from openai import OpenAI
115115
116116
client = OpenAI(
117-
base_url='https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/',
117+
base_url='https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/',
118118
api_key='<IAM API key>'
119119
)
120120
@@ -143,11 +143,11 @@ The Models API returns the model(s) available for inferencing.
143143
In the context of a Scaleway Managed Inference deployment, it returns the name of the current model being served.
144144

145145
```
146-
https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/models
146+
https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/models
147147
```
148148

149149
```
150-
curl https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/models \
150+
curl https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/models \
151151
-H "Authorization: Bearer $SCW_API_KEY" \
152152
-H "Content-Type: application/json"
153153
```

ai-data/managed-inference/reference-content/sentence-t5-xxl.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The Sentence-T5-XXL model is highly ranked on the [MTEB leaderboard](https://hug
5151
To perform inference tasks with your Embedding model deployed at Scaleway, use the following command:
5252

5353
```bash
54-
curl https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/embeddings \
54+
curl https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/embeddings \
5555
-H "Authorization: Bearer <IAM API key>" \
5656
-H "Content-Type: application/json" \
5757
-d '{

ai-data/managed-inference/reference-content/wizardlm-70b-v1.0.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ curl -s \
5454
-H "Authorization: Bearer <IAM API key>" \
5555
-H "Content-Type: application/json" \
5656
--request POST \
57-
--url "https://<Deployment UUID>.ifr.fr-par.scw.cloud/v1/chat/completions" \
57+
--url "https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions" \
5858
--data '{"model":"wizardlm-70B-V1.0", "messages":[{"role": "user","content": "Say hello to Scaleway's Inference"}], "max_tokens": 200, "top_p": 1, "temperature": 1, "stream": false}'
5959
```
6060

0 commit comments

Comments
 (0)