Spaces:
Runtime error
Runtime error
File size: 1,701 Bytes
005a292 bb7c9a3 64566ca f317cf0 005a292 64566ca f317cf0 64566ca 98a6105 5639669 64566ca 005a292 64566ca f317cf0 64566ca 6deb275 c5fe6f5 6deb275 059c10d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# 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
|