Update .env.local.template
Browse files- .env.local.template +24 -0
.env.local.template
CHANGED
|
@@ -18,6 +18,30 @@ OPENID_CLIENT_SECRET=
|
|
| 18 |
OPENID_SCOPES="openid profile" # Add "email" for some providers like Google that do not provide preferred_username
|
| 19 |
OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.google.com
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
| 23 |
MODELS=`[
|
|
|
|
| 18 |
OPENID_SCOPES="openid profile" # Add "email" for some providers like Google that do not provide preferred_username
|
| 19 |
OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.google.com
|
| 20 |
|
| 21 |
+
MODELS=`[
|
| 22 |
+
{
|
| 23 |
+
"name": "Zx4",
|
| 24 |
+
"chatPromptTemplate": "<|system|>\n{{preprompt}}</s>\n{{#each messages}}{{#ifUser}}<|user|>\n{{content}}</s>\n<|assistant|>\n{{/ifUser}}{{#ifAssistant}}{{content}}</s>\n{{/ifAssistant}}{{/each}}",
|
| 25 |
+
"parameters": {
|
| 26 |
+
"temperature": 0.1,
|
| 27 |
+
"top_p": 0.95,
|
| 28 |
+
"repetition_penalty": 1.2,
|
| 29 |
+
"top_k": 50,
|
| 30 |
+
"truncate": 1000,
|
| 31 |
+
"max_new_tokens": 2048,
|
| 32 |
+
"stop": ["</s>"]
|
| 33 |
+
},
|
| 34 |
+
"endpoints": [
|
| 35 |
+
{
|
| 36 |
+
"url": "http://127.0.0.1:8080",
|
| 37 |
+
"type": "llamacpp"
|
| 38 |
+
}
|
| 39 |
+
]
|
| 40 |
+
}
|
| 41 |
+
]`
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
|
| 45 |
|
| 46 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
| 47 |
MODELS=`[
|