Spaces:
Runtime error
Runtime error
Commit
•
38ce0c3
1
Parent(s):
7800902
Update Chat UI configuration
Browse files- .env.local.template +14 -11
.env.local.template
CHANGED
@@ -22,8 +22,8 @@ OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.go
|
|
22 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
23 |
MODELS=`[
|
24 |
{
|
25 |
-
"name": "
|
26 |
-
"chatPromptTemplate": "
|
27 |
"preprompt": "",
|
28 |
"promptExamples": [
|
29 |
{
|
@@ -35,12 +35,15 @@ MODELS=`[
|
|
35 |
}, {
|
36 |
"title": "Regex",
|
37 |
"prompt": "Create a regex to extract dates from logs"
|
|
|
|
|
|
|
38 |
}
|
39 |
],
|
40 |
"endpoints": [
|
41 |
{
|
42 |
"type": "tgi",
|
43 |
-
"url":
|
44 |
}
|
45 |
],
|
46 |
"parameters": ${MODEL_PARAMS}
|
@@ -54,18 +57,18 @@ PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
|
|
54 |
PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
|
55 |
PUBLIC_ANNOUNCEMENT_BANNERS=`[
|
56 |
{
|
57 |
-
"title": "
|
58 |
-
"linkTitle": "GitHub
|
59 |
-
"linkHref": "https://github.com/
|
60 |
}
|
61 |
]`
|
62 |
|
63 |
-
PARQUET_EXPORT_DATASET
|
64 |
-
PARQUET_EXPORT_HF_TOKEN
|
65 |
-
PARQUET_EXPORT_SECRET
|
66 |
|
67 |
PUBLIC_APP_NAME=${APP_NAME} # name used as title throughout the app
|
68 |
PUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_ASSETS
|
69 |
PUBLIC_APP_COLOR=${APP_COLOR} # can be any of tailwind colors: https://tailwindcss.com/docs/customizing-colors#default-color-palette
|
70 |
-
PUBLIC_APP_DATA_SHARING
|
71 |
-
PUBLIC_APP_DATA_DISCLAIMER
|
|
|
22 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
23 |
MODELS=`[
|
24 |
{
|
25 |
+
"name": "argilla/notux-8x7b-v1",
|
26 |
+
"chatPromptTemplate": "<s>{{#each messages}}{{#ifUser}}[INST] {{#if @first}}{{#if @root.preprompt}}{{@root.preprompt}}\n{{/if}}{{/if}}{{content}} [/INST]{{/ifUser}}{{#ifAssistant}}{{content}}</s>{{/ifAssistant}}{{/each}}",
|
27 |
"preprompt": "",
|
28 |
"promptExamples": [
|
29 |
{
|
|
|
35 |
}, {
|
36 |
"title": "Regex",
|
37 |
"prompt": "Create a regex to extract dates from logs"
|
38 |
+
}, {
|
39 |
+
"title": "What does argilla mean?",
|
40 |
+
"prompt": "What does argilla mean?"
|
41 |
}
|
42 |
],
|
43 |
"endpoints": [
|
44 |
{
|
45 |
"type": "tgi",
|
46 |
+
"url": ${NOTUX_TGI_URL}
|
47 |
}
|
48 |
],
|
49 |
"parameters": ${MODEL_PARAMS}
|
|
|
57 |
PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
|
58 |
PUBLIC_ANNOUNCEMENT_BANNERS=`[
|
59 |
{
|
60 |
+
"title": "Notux code and resources already on GitHub!",
|
61 |
+
"linkTitle": "GitHub Repository",
|
62 |
+
"linkHref": "https://github.com/argilla-io/notus"
|
63 |
}
|
64 |
]`
|
65 |
|
66 |
+
PARQUET_EXPORT_DATASET=${PARQUET_EXPORT_DATASET}
|
67 |
+
PARQUET_EXPORT_HF_TOKEN=${PARQUET_EXPORT_HF_TOKEN}
|
68 |
+
PARQUET_EXPORT_SECRET=${PARQUET_EXPORT_SECRET}
|
69 |
|
70 |
PUBLIC_APP_NAME=${APP_NAME} # name used as title throughout the app
|
71 |
PUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_ASSETS
|
72 |
PUBLIC_APP_COLOR=${APP_COLOR} # can be any of tailwind colors: https://tailwindcss.com/docs/customizing-colors#default-color-palette
|
73 |
+
PUBLIC_APP_DATA_SHARING=1
|
74 |
+
PUBLIC_APP_DATA_DISCLAIMER=1
|