Write a ChatGPT Chatbot with Node.js
Offered By: Traversy Media via YouTube
Course Description
Overview
Learn to build an AI chatbot from scratch using Node.js, the OpenAI library, and the ChatGPT API in this comprehensive tutorial video. Set up the development environment, obtain an OpenAI API key, and implement chat completion functionality. Create a functional chatbot that interacts with users through the command line, handles user input, and maintains chat history. Follow along with code examples, explore the ReadlineSync library for user input, and learn how to integrate the OpenAI API for intelligent responses. By the end of this 29-minute tutorial, gain hands-on experience in developing a fully functional AI chatbot using Node.js and ChatGPT technology.
Syllabus
- Intro
- Getting Setup
- OpenAI API Key
- OpenAI Library Setup
- Chat Completion Example
- Creating The Chatbot
- ReadlineSync Example
- Get User Input
- Exiting The Program
- Chat Completion for Chatbot
- Trying Out The Bot
- Storing The Chat History
- Update Chat History
- Final Test
Taught by
Traversy Media
Related Courses
MongoDB for Node.js DevelopersMongoDB University Introduction to Office 365 Development and APIs
Microsoft via edX Server-side Development with NodeJS
The Hong Kong University of Science and Technology via Coursera Front-End Web UI Frameworks and Tools
The Hong Kong University of Science and Technology via Coursera Introduction to MongoDB using the MEAN Stack
MongoDB via edX