Spaces:
Sleeping
Sleeping
Update .env.local.template
Browse files- .env.local.template +15 -25
.env.local.template
CHANGED
@@ -20,32 +20,22 @@ OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.go
|
|
20 |
|
21 |
|
22 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
"prompt": "How can I write a Python function to generate the nth Fibonacci number?"
|
32 |
-
}, {
|
33 |
-
"title": "What is a meme?",
|
34 |
-
"prompt": "What is a meme, and what's the history behind this word?"
|
35 |
-
}, {
|
36 |
-
"title": "Regex",
|
37 |
-
"prompt": "Create a regex to extract dates from logs"
|
38 |
-
}
|
39 |
-
],
|
40 |
-
"endpoints": [
|
41 |
{
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
|
50 |
|
51 |
PUBLIC_ORIGIN=${SPACE_HOST}
|
|
|
20 |
|
21 |
|
22 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
23 |
+
OPENAI_API_KEY='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'
|
24 |
+
MODELS=`[{
|
25 |
+
"name": "gpt-4",
|
26 |
+
"displayName": "GPT 4",
|
27 |
+
"endpoints" : [{
|
28 |
+
"type": "openai"
|
29 |
+
}]
|
30 |
+
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
{
|
32 |
+
"name": "gpt-3.5-turbo",
|
33 |
+
"displayName": "GPT 3.5 Turbo",
|
34 |
+
"endpoints" : [{
|
35 |
+
"type": "openai"
|
36 |
+
}]
|
37 |
+
}]`
|
38 |
+
|
39 |
OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
|
40 |
|
41 |
PUBLIC_ORIGIN=${SPACE_HOST}
|