Update .env.local
Browse files- .env.local +15 -22
.env.local
CHANGED
|
@@ -1,36 +1,29 @@
|
|
| 1 |
MODELS=`[
|
| 2 |
{
|
| 3 |
-
"name": "
|
|
|
|
|
|
|
| 4 |
"promptExamples": [
|
| 5 |
{
|
| 6 |
-
"title": "
|
| 7 |
-
"prompt": "
|
| 8 |
-
}, {
|
| 9 |
-
"title": "What is a meme?",
|
| 10 |
-
"prompt": "What is a meme, and what's the history behind this word?"
|
| 11 |
-
}, {
|
| 12 |
-
"title": "Regex",
|
| 13 |
-
"prompt": "Create a regex to extract dates from logs"
|
| 14 |
-
}
|
| 15 |
-
],
|
| 16 |
-
"endpoints": [
|
| 17 |
-
{
|
| 18 |
-
"type": "tgi",
|
| 19 |
-
"url": "http://127.0.0.1:8080"
|
| 20 |
}
|
| 21 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
"parameters": {
|
| 23 |
"temperature": 0.7,
|
| 24 |
-
"top_p": 0.95,
|
| 25 |
-
"repetition_penalty": 1.2,
|
| 26 |
-
"top_k": 50,
|
| 27 |
-
"truncate": 1000,
|
| 28 |
"max_new_tokens": 1024,
|
| 29 |
-
"stop": [
|
| 30 |
}
|
| 31 |
}
|
| 32 |
]`
|
| 33 |
|
| 34 |
-
PUBLIC_APP_NAME="
|
|
|
|
|
|
|
| 35 |
|
| 36 |
-
MONGODB_URL=mongodb://localhost:27017
|
|
|
|
|
|
| 1 |
MODELS=`[
|
| 2 |
{
|
| 3 |
+
"name": "نموذج محادثة",
|
| 4 |
+
"description": "نموذج ذكاء اصطناعي للمحادثة",
|
| 5 |
+
"modelId": "${MODEL_NAME}",
|
| 6 |
"promptExamples": [
|
| 7 |
{
|
| 8 |
+
"title": "سؤال عن الذكاء الاصطناعي",
|
| 9 |
+
"prompt": "ما هو الذكاء الاصطناعي؟"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
}
|
| 11 |
],
|
| 12 |
+
"endpoints": [{
|
| 13 |
+
"type": "tgi",
|
| 14 |
+
"url": "http://localhost:8080"
|
| 15 |
+
}],
|
| 16 |
"parameters": {
|
| 17 |
"temperature": 0.7,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
"max_new_tokens": 1024,
|
| 19 |
+
"stop": []
|
| 20 |
}
|
| 21 |
}
|
| 22 |
]`
|
| 23 |
|
| 24 |
+
PUBLIC_APP_NAME="Chat UI"
|
| 25 |
+
PUBLIC_APP_DESCRIPTION="واجهة محادثة مع نموذج ذكاء اصطناعي"
|
| 26 |
+
PUBLIC_APP_ASSISTANT_NAME="المساعد"
|
| 27 |
|
| 28 |
+
MONGODB_URL="mongodb://localhost:27017/chatdb"
|
| 29 |
+
HF_TOKEN=""
|