Spaces:
Build error
Build error
Update .env.local.template
Browse files- .env.local.template +24 -0
.env.local.template
CHANGED
@@ -44,6 +44,30 @@ MODELS=`[
|
|
44 |
}
|
45 |
],
|
46 |
"parameters": ${MODEL_PARAMS}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
}
|
48 |
]`
|
49 |
OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
|
|
|
44 |
}
|
45 |
],
|
46 |
"parameters": ${MODEL_PARAMS}
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"name": "HuggingFaceH4/mistral-7b-cai-alpha",
|
50 |
+
"chatPromptTemplate": "${MODEL_PROMPT_TEMPLATE}",
|
51 |
+
"preprompt": "",
|
52 |
+
"promptExamples": [
|
53 |
+
{
|
54 |
+
"title": "Python Fibonacci",
|
55 |
+
"prompt": "How can I write a Python function to generate the nth Fibonacci number?"
|
56 |
+
}, {
|
57 |
+
"title": "What is a meme?",
|
58 |
+
"prompt": "What is a meme, and what's the history behind this word?"
|
59 |
+
}, {
|
60 |
+
"title": "Regex",
|
61 |
+
"prompt": "Create a regex to extract dates from logs"
|
62 |
+
}
|
63 |
+
],
|
64 |
+
"endpoints": [
|
65 |
+
{
|
66 |
+
"type": "tgi",
|
67 |
+
"url": "http://127.0.0.1:8080"
|
68 |
+
}
|
69 |
+
],
|
70 |
+
"parameters": ${MODEL_PARAMS}
|
71 |
}
|
72 |
]`
|
73 |
OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
|