Buff is a simple bot that indexes support docs and answers questions in Discord.
- Index and search through a large number of documents with Faiss
- Monitors Discord channels for
!help
requests and responds to them, using LangChain to construct the prompt - Cites its sources, linking to the relevant source documents
- Chunking sources to support larger documents
- Integrations with Zendesk and other helpdesk software
To get on the hosted version, contact us on Discord or sign up here.
To get started on the self-hosted version, create a Discord bot and give it the necessary permissions to read message content and post messages. Swap out the placeholders in server/discord/bot.py
with your OpenAI API Key and your Discord Bot Token. Then just run server/discord/bot.py
from your server with nohup
or systemd
to keep the script running.