Skills you'll learn:
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
1 week
Last Updated July 12, 2024
Prerequisites:
Intermediate
1 week
Last Updated July 12, 2024
Skills you'll learn:
Prerequisites:
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.
Taught By The Best
Erin Hoffman
Senior Technical Content Developer at Udacity
Erin is a data scientist and Senior Technical Content Developer at Udacity, where she leverages her background in computer science and design research to manage the development of curriculum in fields like Generative AI, Business Intelligence, Data Analysis, and more. Beyond Udacity, Erin regularly contributes to a variety of writing, research, and open source projects, including scikit-learn, the most popular ML library in use today.
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
Enroll in Building a Custom OpenAI Chatbot. Choose the plan that works for you
All Access monthly
Unlimited access to our top-rated courses
Personalized Career Services
Cancel Anytime
Real-world projects
Personalized project reviews
Program certificates
Best Value
All Access bundle1
All the same great benefits as our monthly plan
The most cost-effective way to develop the skills you want
- 1Discount applies to the first 4 months of membership, after which plans are converted to month-to-month.
Your subscription also includes:
Your subscription also includes:
2 weeks
Intermediate
3 weeks
Advanced
(309)
2 months
Advanced
3 weeks
Intermediate
2 weeks
Advanced
(8)
2 months
Intermediate
4 weeks
Intermediate
1 week
Advanced
1 month
Advanced
1 month
Beginner
3 weeks
Advanced
4 weeks
Intermediate
(966)
3 months
Intermediate
3 hours
Fluency
4 weeks
Intermediate
2 weeks
Beginner
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.