Show HN: Open-source support bot for Discord

github.com

21 points by 0xjfan 2 years ago

Many 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/

Demo: https://www.youtube.com/shorts/JPKW9tX0K9Y

brianjking 2 years ago

* Which permissions will the Discord bot require?

* Absolutely would love to get ahold of this - filled out the application! Big fan of Langchain

  • 0xjfan 2 years ago

    Hey Brian, just the view channel and send message permissions. Awesome - I reached out on LinkedIn, we can chat more there

    • brianjking 2 years ago

      Thanks, I'll need to check my LinkedIn invites. Appreciate it.

trynewideas 2 years ago

> 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?

  • ayanb9440 2 years ago

    Good question, let me ask gpt

    • ayanb9440 2 years ago

      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.