Building a GPT-3 Powered Knowledge Base Bot for Discord


In this workshop, we’re going to build a simple Discord bot that leverages GPT-3 to answer user questions. Generative Pre-trained Transformer 3 (GPT-3) is a highly advanced language model from OpenAI that can generate written text that is virtually indistinguishable from text written by humans. Discord is a chat app, similar to programs like Facebook Messenger, Telegram, Skype, WhatsApp, or Slack.

Session Outline:

Lesson 1: Getting started with GPT-3
Familiarize yourself with GPT-3 and the OpenAI API. At the end of this lesson you’ll be able to make simple calls to the OpenAI API to begin using GPT-3.

Lesson 2: Setting up a Discord Bot
In this lesson you’ll set up a Discord bot that will later be calling the OpenAI API to respond to user questions. At the end of this lesson you’ll know how to create a simple Discord bot.

Lesson 3: Using GPT-3 to power your Discord Bot
In this lesson, we’ll wire up our Discord bot so that it calls the OpenAI API to answer questions sent by users. At the end of this lesson you’ll know how to create a functional GPT-3 powered Discord bot.


Steve is the author of the book Exploring GPT-3 from Packt Publishing and the managing director of Dabble Lab, a technology education and services company that helps businesses accelerate learning and adoption of artificial intelligence, blockchain, and other emerging technologies. Steve has been designing and building automation solutions for over 20 years and has consulted on AI and automation projects for companies including Amazon, Google, and Twilio. He also publishes technical tutorials on Dabble Lab’s YouTube channel— one of the most popular educational resources for conversational AI developers—and manages several open-source projects, including the Autopilot CLI, Twilio’s recommended tool for building Autopilot bots.

Open Data Science




Open Data Science
One Broadway
Cambridge, MA 02142

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Consent to display content from Youtube
Consent to display content from Vimeo
Google Maps
Consent to display content from Google