ctp-slack-bot / .env.template
LiKenun's picture
Refactor #3
bb7c9a3
# Copy this file and modify. Do not save or commit the secrets!
# HTTP Server Configuration
HTTP_HOST=0.0.0.0
HTTP_PORT=8080
# APScheduler Configuration
SCHEDULER_TIMEZONE=UTC
# Slack Configuration
SLACK_BOT_TOKEN=๐Ÿช™
SLACK_APP_TOKEN=๐Ÿฆฅ
# Vectorization Configuration
EMBEDDING_MODEL=๐ŸŒฎ
VECTOR_DIMENSION=1536
CHUNK_SIZE=1000
CHUNK_OVERLAP=200
TOP_K_MATCHES=5
# MongoDB Configuration
MONGODB_URI=mongodb+srv://username:[email protected]/database?retryWrites=true&w=majority
MONGODB_NAME=ctp_slack_bot
VECTORIZED_CHUNKS_COLLECTION_NAME=vectorized_chunks
VECTORIZED_CHUNKS_SEARCH_INDEX_NAME=
SCORE_THRESHOLD=0.5
# Hugging Face Configuration
HF_API_TOKEN=๐Ÿค—
# OpenAI Configuration
OPENAI_API_KEY=๐Ÿ˜
CHAT_MODEL=gpt-3.5-turbo
MAX_TOKENS=150
TEMPERATURE=0.8
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."
# Google Drive Configuration
GOOGLE_DRIVE_ROOT_ID=1NB91EcIUXbOVcdCkXOAHdmWrDfgoh9fQ
GOOGLE_PROJECT_ID=insufferable-slacker-123456
GOOGLE_PRIVATE_KEY_ID=1a2b3c4d5e6f748891091d21304e506674829507
GOOGLE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASC...\n-----END PRIVATE KEY-----\n"
GOOGLE_CLIENT_EMAIL=botty-bot@insufferable-slacker-123456.iam.gserviceaccount.com
GOOGLE_CLIENT_ID=123456789012345678901
# File Monitoring Configuration
FILE_MONITOR_ROOT_PATH=Transcripts/Friday