File size: 764 Bytes
c18dee2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---

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