Spaces:
Sleeping
Sleeping
AleksanderObuchowski
commited on
Commit
•
bf2c598
1
Parent(s):
55eed82
change to openai for test
Browse files- .env.local.template +10 -4
.env.local.template
CHANGED
@@ -23,12 +23,18 @@ COMMUNITY_TOOLS=false
|
|
23 |
TOOLS=`[]`
|
24 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
25 |
MODELS=`[{
|
26 |
-
"name": "
|
27 |
-
"displayName": "
|
28 |
"endpoints" : [{
|
29 |
"type": "openai",
|
30 |
-
"
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
}]
|
33 |
}]`
|
34 |
#Repetition penality = presence_penalty + 2
|
|
|
23 |
TOOLS=`[]`
|
24 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
25 |
MODELS=`[{
|
26 |
+
"name": "gpt-4",
|
27 |
+
"displayName": "GPT 4",
|
28 |
"endpoints" : [{
|
29 |
"type": "openai",
|
30 |
+
"apiKey": "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"
|
31 |
+
}]
|
32 |
+
},{
|
33 |
+
"name": "gpt-3.5-turbo",
|
34 |
+
"displayName": "GPT 3.5 Turbo",
|
35 |
+
"endpoints" : [{
|
36 |
+
"type": "openai",
|
37 |
+
"apiKey": "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"
|
38 |
}]
|
39 |
}]`
|
40 |
#Repetition penality = presence_penalty + 2
|