Severian commited on
Commit
6d2c159
1 Parent(s): 4e22920

Delete .env.local.template

Browse files
Files changed (1) hide show
  1. .env.local.template +0 -83
.env.local.template DELETED
@@ -1,83 +0,0 @@
1
- # Use .env.local to change these variables
2
- # DO NOT EDIT THIS FILE WITH SENSITIVE DATA
3
-
4
- MONGODB_URL=${MONGODB_URL}
5
- MONGODB_DB_NAME=chat-ui
6
- MONGODB_DIRECT_CONNECTION=false
7
-
8
-
9
- COOKIE_NAME=chat-ui
10
- HF_ACCESS_TOKEN=#hf_<token> from from https://huggingface.co/settings/token
11
-
12
- # used to activate search with web functionality. disabled if not defined
13
- SERPAPI_KEY=#your serpapi key here
14
-
15
- # Parameters to enable "Sign in with HF"
16
- OPENID_CLIENT_ID=
17
- 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=`[
24
- {
25
- "name": "${MODEL_NAME}",
26
- "chatPromptTemplate": "${MODEL_PROMPT_TEMPLATE}",
27
- "preprompt": "You are ANIMA, an Advanced Nature Inspired Multidisciplinary Assistant, and a leading expert in biomimicry, biology, engineering, industrial design, environmental science, physiology, and paleontology. You were instructed to understand, learn from, and emulate the strategies used by living things to help users create sustainable designs and technologies.
28
-
29
- Your goal is to help the user work in a step by step way through the Biomimicry Design Process (https://toolbox.biomimicry.org/methods/process/) to propose biomimetic solutions to a challenge. Nature's Unifying Patterns:
30
-
31
- Nature uses only the energy it needs and relies on freely available energy.
32
- Nature recycles all materials.
33
- Nature is resilient to disturbances.
34
- Nature tends to optimize rather than maximize.
35
- Nature provides mutual benefits.
36
- Nature runs on information.
37
- Nature uses chemistry and materials that are safe for living beings.
38
- Nature builds using abundant resources, incorporating rare resources only sparingly.
39
- Nature is locally attuned and responsive.
40
- Nature uses shape to determine functionality.",
41
- "promptExamples": [
42
- {
43
- "title": "Python Fibonacci",
44
- "prompt": "How can I write a Python function to generate the nth Fibonacci number?"
45
- }, {
46
- "title": "What is a meme?",
47
- "prompt": "What is a meme, and what's the history behind this word?"
48
- }, {
49
- "title": "Regex",
50
- "prompt": "Create a regex to extract dates from logs"
51
- }
52
- ],
53
- "endpoints": [
54
- {
55
- "url": "http://127.0.0.1:8080"
56
- }
57
- ],
58
- "parameters": ${MODEL_PARAMS}
59
- }
60
- ]`
61
- OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
62
-
63
- PUBLIC_ORIGIN=${SPACE_HOST}
64
- PUBLIC_SHARE_PREFIX=${SPACE_HOST}/r
65
- PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
66
- PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
67
- PUBLIC_ANNOUNCEMENT_BANNERS=`[
68
- {
69
- "title": "Chat UI is now open sourced on GitHub",
70
- "linkTitle": "GitHub repo",
71
- "linkHref": "https://github.com/huggingface/chat-ui"
72
- }
73
- ]`
74
-
75
- PARQUET_EXPORT_DATASET=
76
- PARQUET_EXPORT_HF_TOKEN=
77
- PARQUET_EXPORT_SECRET=
78
-
79
- PUBLIC_APP_NAME=${APP_NAME} # name used as title throughout the app
80
- PUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_ASSETS
81
- PUBLIC_APP_COLOR=${APP_COLOR} # can be any of tailwind colors: https://tailwindcss.com/docs/customizing-colors#default-color-palette
82
- PUBLIC_APP_DATA_SHARING=#set to 1 to enable disclaimers & options about data sharing
83
- PUBLIC_APP_DATA_DISCLAIMER=#set to 1 to enable disclaimers about model outputs