Skip to content

Commit 4ec9a5b

Browse files
authored
fix(inference): env variable (#3826)
* fix(tutorial): change .env var in tutorial * fix public url
1 parent 313afb0 commit 4ec9a5b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tutorials/how-to-implement-rag/index.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Create a .env file and add the following variables. These will store your API ke
5050
# Scaleway API credentials
5151
SCW_ACCESS_KEY=your_scaleway_access_key
5252
SCW_API_KEY=your_scaleway_secret_ke
53+
SCW_REGION=your_scaleway_region
5354

5455
# Scaleway managed database (PostgreSQL) credentials
5556
SCW_DB_NAME=your_scaleway_managed_db_name
@@ -60,13 +61,13 @@ Create a .env file and add the following variables. These will store your API ke
6061

6162
# Scaleway S3 bucket configuration
6263
SCW_BUCKET_NAME=your_scaleway_bucket_name
63-
SCW_BUCKET_ENDPOINT="https://{{SCW_BUCKET_NAME}}.s3.{{SCW_REGION}}.scw.cloud" # S3 endpoint, e.g., https://s3.fr-par.scw.cloud
64+
SCW_BUCKET_ENDPOINT="https://s3.{{SCW_REGION}}.scw.cloud" # S3 endpoint, e.g., https://s3.fr-par.scw.cloud
6465

6566
# Scaleway Inference API configuration (Embeddings)
66-
SCW_INFERENCE_EMBEDDINGS_ENDPOINT="https://{{SCW_INFERENCE_DEPLOYMENT_ID}}.ifr.fr-par.scw.cloud/v1" # Endpoint for sentence-transformers/sentence-t5-xxl deployment
67+
SCW_INFERENCE_EMBEDDINGS_ENDPOINT="https://{{SCW_INFERENCE_EMBEDDINGS_DEPLOYMENT_ID}}.ifr.fr-par.scaleway.com/v1" # Endpoint for sentence-transformers/sentence-t5-xxl deployment
6768

6869
# Scaleway Inference API configuration (LLM deployment)
69-
SCW_INFERENCE_DEPLOYMENT_ENDPOINT="https://{{SCW_INFERENCE_DEPLOYMENT_ID}}.ifr.fr-par.scw.cloud/v1" # Endpoint for your LLM deployment
70+
SCW_INFERENCE_DEPLOYMENT_ENDPOINT="https://{{SCW_INFERENCE_DEPLOYMENT_ID}}.ifr.fr-par.scaleway.com/v1" # Endpoint for your LLM deployment
7071
```
7172

7273
## Setting Up Managed Databases

0 commit comments

Comments
 (0)