Spaces:
Running
on
Inf2
Running
on
Inf2
Use dedicated endpoint for embeddings (#1049)
Browse files- .env.template +14 -0
.env.template
CHANGED
|
@@ -248,6 +248,20 @@ OLD_MODELS=`[
|
|
| 248 |
|
| 249 |
TASK_MODEL='meta-llama/Meta-Llama-3-70B-Instruct'
|
| 250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
APP_BASE="/chat"
|
| 252 |
PUBLIC_ORIGIN=https://huggingface.co
|
| 253 |
PUBLIC_SHARE_PREFIX=https://hf.co/chat
|
|
|
|
| 248 |
|
| 249 |
TASK_MODEL='meta-llama/Meta-Llama-3-70B-Instruct'
|
| 250 |
|
| 251 |
+
TEXT_EMBEDDING_MODELS = `[
|
| 252 |
+
{
|
| 253 |
+
"name": "bge-base-en-v1-5-sxa",
|
| 254 |
+
"displayName": "bge-base-en-v1-5-sxa",
|
| 255 |
+
"chunkCharLength": 512,
|
| 256 |
+
"endpoints": [
|
| 257 |
+
{ "type": "tei",
|
| 258 |
+
"url" :"https://bntaujjdgxrm3d0x.eu-west-1.aws.endpoints.huggingface.cloud"
|
| 259 |
+
}
|
| 260 |
+
]
|
| 261 |
+
}
|
| 262 |
+
]`
|
| 263 |
+
|
| 264 |
+
|
| 265 |
APP_BASE="/chat"
|
| 266 |
PUBLIC_ORIGIN=https://huggingface.co
|
| 267 |
PUBLIC_SHARE_PREFIX=https://hf.co/chat
|