Show HN: Open-source support bot for Discord
github.comMany companies have a public Discord where people ask questions. Sometimes those questions are dumb and can be easily answered by reading the support documents.
So we built a bot that does 3 things:
1. Uses FAISS to index public support documents provided as URLs
2. Monitors a Discord channel for questions, prefixed with !help
3. Responds to questions with its best guess of the right answer and cites its source document(s), using Data Augmented Generation from LangChain
It won’t be right all of the time, but if people find it helpful we’ll make it better. Take a look at the repo and give us some suggestions of how to improve it, or put up a PR!
Repo: https://github.com/getbuff/Buff
Website: https://www.getbuff.io/
* Which permissions will the Discord bot require?
* Absolutely would love to get ahold of this - filled out the application! Big fan of Langchain
Hey Brian, just the view channel and send message permissions. Awesome - I reached out on LinkedIn, we can chat more there
Thanks, I'll need to check my LinkedIn invites. Appreciate it.
> Sometimes those questions are dumb and can be easily answered by reading the support documents. So we built a bot that ... responds to questions.
But:
> It won’t be right all of the time.
Does this mean the questions aren't dumb, or that the bot is dumber than the questions?
Good question, let me ask gpt
Gpt says:
It means that the bot may not always provide the correct response to a question, even if the answer can be found in the support documents. The bot may not have access to all the information or may not be able to understand the context of the question.
[dead]