--- title: Slack RAG Bot emoji: 🤖 colorFrom: blue colorTo: purple sdk: docker pinned: false --- # Slack RAG Bot A production-ready Slack bot that processes documents (PDF/DOCX) and answers questions using RAG (Retrieval-Augmented Generation). ## Features - 📄 Process PDF and DOCX files - 🔍 Vector search using Supabase - 💬 Answer questions based on uploaded documents - 🤖 Powered by sentence-transformers and RoBERTa ## Environment Variables Set these in your HuggingFace Space settings: - `HF_TOKEN`: Your HuggingFace token - `SUPABASE_URL`: Your Supabase project URL - `SUPABASE_KEY`: Your Supabase anon key - `SLACK_BOT_TOKEN`: Your Slack bot token (xoxb-...) - `SLACK_SIGNING_SECRET`: Your Slack signing secret