ctp-slack-bot / .env.template
LiKenun's picture
Partial code clean-up and logging enablement
64566ca
raw
history blame
1.19 kB
# Copy this file and modify. Do not save or commit the secrets!
# Application Configuration
DEBUG=false
# Logging Configuration
LOG_LEVEL=INFO
LOG_FORMAT=text
# APScheduler Configuration
SCHEDULER_TIMEZONE=UTC
# API Configuration
API_HOST=0.0.0.0
API_PORT=8000
# Slack Configuration
SLACK_BOT_TOKEN=๐Ÿช™
SLACK_SIGNING_SECRET=๐Ÿ”
SLACK_APP_TOKEN=๐Ÿฆฅ
# Vectorization Configuration
EMBEDDING_MODEL=๐ŸŒฎ
VECTOR_DIMENSION=9001
CHUNK_SIZE=42
CHUNK_OVERLAP=37
TOP_K_MATCHES=1
# MongoDB Configuration
MONGODB_URI=mongodb+srv://username:[email protected]/database?retryWrites=true&w=majority
MONGODB_NAME=ctp_slack_bot
# Hugging Face Configuration
HF_API_TOKEN=๐Ÿค—
# OpenAI Configuration
OPENAI_API_KEY=๐Ÿ˜
CHAT_MODEL=๐Ÿ™Š
MAX_TOKENS=42
TEMPERATURE=0.5
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."