rag-slack / README.md
NeerajCodz's picture
Initial commit of RAG Slack bot
c18dee2 verified
metadata
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