Spaces:
Running
Running
docs: add env vars for openai endpoint
Browse files- .env.example +8 -0
.env.example
CHANGED
@@ -1,3 +1,11 @@
|
|
1 |
XAI_API_KEY=""
|
2 |
OPENAI_API_KEY=
|
3 |
DATABASE_URL="postgresql://username:password@host:port/database"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
XAI_API_KEY=""
|
2 |
OPENAI_API_KEY=
|
3 |
DATABASE_URL="postgresql://username:password@host:port/database"
|
4 |
+
|
5 |
+
|
6 |
+
# Official or compatible endpoint
|
7 |
+
OPENAI_API_KEY=""
|
8 |
+
OPENAI_BASE_URL="" # optional – leave blank to use api.openai.com
|
9 |
+
# When pointing to Azure: OPENAI_BASE_URL=https://<resource>.openai.azure.com/openai/deployments/<deployment-name>
|
10 |
+
# Optional extra headers as JSON, eg: {"api-key":"abc","organization":"org_xyz"}
|
11 |
+
OPENAI_EXTRA_HEADERS=""
|