Spaces:
Runtime error
Runtime error
Hussam
commited on
Commit
ยท
f317cf0
1
Parent(s):
ec5cc7e
updated .env template with non sensitive configs
Browse files- .env.template +15 -9
.env.template
CHANGED
@@ -1,25 +1,31 @@
|
|
1 |
# Copy this file and modify. Do not save or commit the secrets!
|
2 |
|
3 |
# Application Configuration
|
4 |
-
DEBUG=
|
5 |
|
6 |
# Logging Configuration
|
7 |
LOG_LEVEL=INFO
|
8 |
LOG_FORMAT=text
|
9 |
|
10 |
# APScheduler Configuration
|
11 |
-
SCHEDULER_TIMEZONE=
|
|
|
|
|
|
|
|
|
12 |
|
13 |
# Slack Configuration
|
14 |
SLACK_BOT_TOKEN=๐ช
|
|
|
15 |
SLACK_APP_TOKEN=๐ฆฅ
|
|
|
16 |
|
17 |
# Vectorization Configuration
|
18 |
EMBEDDING_MODEL=๐ฎ
|
19 |
-
VECTOR_DIMENSION=
|
20 |
-
CHUNK_SIZE=
|
21 |
-
CHUNK_OVERLAP=
|
22 |
-
TOP_K_MATCHES=
|
23 |
|
24 |
# MongoDB Configuration
|
25 |
MONGODB_URI=mongodb+srv://username:[email protected]/database?retryWrites=true&w=majority
|
@@ -31,7 +37,7 @@ HF_API_TOKEN=๐ค
|
|
31 |
|
32 |
# OpenAI Configuration
|
33 |
OPENAI_API_KEY=๐
|
34 |
-
CHAT_MODEL
|
35 |
-
MAX_TOKENS=
|
36 |
-
TEMPERATURE=0.
|
37 |
SYSTEM_PROMPT="You are a helpful teaching assistant for a data science class.\nBased on the students question, you will be given context retreived from class transcripts and materials to answer their question.\nYour responses should be:\n\n1. Accurate and based on the class content\n2. Clear and educational\n3. Concise but complete\nIf you're unsure about something, acknowledge it and suggest asking the professor."
|
|
|
1 |
# Copy this file and modify. Do not save or commit the secrets!
|
2 |
|
3 |
# Application Configuration
|
4 |
+
DEBUG=TRUE
|
5 |
|
6 |
# Logging Configuration
|
7 |
LOG_LEVEL=INFO
|
8 |
LOG_FORMAT=text
|
9 |
|
10 |
# APScheduler Configuration
|
11 |
+
SCHEDULER_TIMEZONE=UTC
|
12 |
+
|
13 |
+
# API Configuration
|
14 |
+
API_HOST=0.0.0.0
|
15 |
+
API_PORT=8000
|
16 |
|
17 |
# Slack Configuration
|
18 |
SLACK_BOT_TOKEN=๐ช
|
19 |
+
SLACK_SIGNING_SECRET=๐
|
20 |
SLACK_APP_TOKEN=๐ฆฅ
|
21 |
+
SLACK_USER_TOKEN=๐ฆ
|
22 |
|
23 |
# Vectorization Configuration
|
24 |
EMBEDDING_MODEL=๐ฎ
|
25 |
+
VECTOR_DIMENSION=1536
|
26 |
+
CHUNK_SIZE=1000
|
27 |
+
CHUNK_OVERLAP=200
|
28 |
+
TOP_K_MATCHES=5
|
29 |
|
30 |
# MongoDB Configuration
|
31 |
MONGODB_URI=mongodb+srv://username:[email protected]/database?retryWrites=true&w=majority
|
|
|
37 |
|
38 |
# OpenAI Configuration
|
39 |
OPENAI_API_KEY=๐
|
40 |
+
CHAT_MODEL=gpt-3.5-turbo
|
41 |
+
MAX_TOKENS=150
|
42 |
+
TEMPERATURE=0.8
|
43 |
SYSTEM_PROMPT="You are a helpful teaching assistant for a data science class.\nBased on the students question, you will be given context retreived from class transcripts and materials to answer their question.\nYour responses should be:\n\n1. Accurate and based on the class content\n2. Clear and educational\n3. Concise but complete\nIf you're unsure about something, acknowledge it and suggest asking the professor."
|