Udacity Logo
Log InJoin for Free

Building a Custom OpenAI Chatbot

Course

In this course, we will create a custom Q&A bot powered by OpenAI! Along the way, you'll learn how OpenAI works and how to leverage its powerful language processing capabilities to build a functional Q&A bot that can provide insightful answers to your questions and impress your friends with its knowledge. We'll start by creating an unsupervised machine-learning workflow to match the user's question to the relevant context in our dataset. We'll use that workflow to send a custom prompt that includes this context to an OpenAI text completion model. The output will be a custom response that is better aligned with our user's need for accurate data about recent events.

In this course, we will create a custom Q&A bot powered by OpenAI! Along the way, you'll learn how OpenAI works and how to leverage its powerful language processing capabilities to build a functional Q&A bot that can provide insightful answers to your questions and impress your friends with its knowledge. We'll start by creating an unsupervised machine-learning workflow to match the user's question to the relevant context in our dataset. We'll use that workflow to send a custom prompt that includes this context to an OpenAI text completion model. The output will be a custom response that is better aligned with our user's need for accurate data about recent events.

Intermediate

4 weeks

Real-world Projects

Completion Certificate

Last Updated October 6, 2023

Skills you'll learn:
OpenAI API • Tokenization • Prompt Engineering • Conversational AI
Prerequisites:
Basic Python

Course Lessons

Lesson 1

Welcome

In this lesson, you'll get an overview of our journey. You'll learn a bit about OpenAI's history and how we can use it. You'll also get a brief introduction to prompt engineering.

Lesson 2

Preparing a Dataset with Embeddings

In this lesson, we'll prepare our dataset to make it accessible for machine learning. We'll find the data, load it, clean it up, and use embeddings to create numeric representations of our data.

Lesson 3

Finding Relevant Data

In this lesson, we will discuss the differences between keyword and semantic searches. Then, we'll find the relevant data for our queries using cosine similarity.

Lesson 4

Querying a Completion Model with a Custom Text Prompt

In this lesson, we'll get to the magic of AI! We'll write a custom prompt that includes the most relevant parts of our dataset and use that prompt to get a customized response.

Lesson 5 • Project

Project: Build Your Own Custom Chatbot

For this project, you will use everything you learned in this course to create a custom chatbot using a dataset of your choice.

The Udacity Difference

Combine technology training for employees with industry experts, mentors, and projects, for critical thinking that pushes innovation. Our proven upskilling system goes after success—relentlessly.

Demonstrate proficiency with practical projects

Projects are based on real-world scenarios and challenges, allowing you to apply the skills you learn to practical situations, while giving you real hands-on experience.

  • Gain proven experience

  • Retain knowledge longer

  • Apply new skills immediately

Top-tier services to ensure learner success

Reviewers provide timely and constructive feedback on your project submissions, highlighting areas of improvement and offering practical tips to enhance your work.

  • Get help from subject matter experts

  • Learn industry best practices

  • Gain valuable insights and improve your skills

Unlock access to Building a Custom OpenAI Chatbot and the rest of our best-in-class catalog

  • Unlimited access to our top-rated courses

  • Real-world projects

  • Personalized project reviews

  • Program certificates

  • Proven career outcomes

Full Catalog Access

One subscription opens up this course and our entire catalog of projects and skills.

Month-To-Month

4 Months

Average time to complete a Nanodegree program

*Discount applies to the first 4 months of membership, after which plans are converted to month-to-month.

Get Started Today

Building a Custom OpenAI Chatbot

Month-To-Month


  • Unlimited access to our top-rated courses
  • Real-world projects
  • Personalized project reviews
  • Program certificates
  • Proven career outcomes

4 Months

Average time to complete a Nanodegree program

  • All the same great benefits in our month-to-month plan
  • Most cost-effective way to acquire a new set of skills
Discount applies to the first 4 months of membership, after which plans are converted to month-to-month.

About Building a Custom OpenAI Chatbot

Learn how to leverage powerful OpenAI language processing capabilities and create a custom chatbot with this intermediate training course.

Udacity Logo
Company
  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

© 2011-2024 Udacity, Inc. "Nanodegree" is a registered trademark of Udacity. © 2011-2024 Udacity, Inc.
We use cookies and other data collection technologies to provide the best experience for our customers.