Packt
Building a ChatGPT AI with JavaScript - A Code-Along Guide
Packt

Building a ChatGPT AI with JavaScript - A Code-Along Guide

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
初级 等级

推荐体验

4 小时 完成
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
初级 等级

推荐体验

4 小时 完成
灵活的计划
自行安排学习进度

您将学到什么

  • Use React Hooks and build interactive interfaces for the AI application

  • Implement machine learning concepts in a real-world project

  • Build an AI application using the OpenAI API and web development technologies

  • Get hands-on experience with React, Next.js, JavaScript, Node, and CSS

要了解的详细信息

可分享的证书

添加到您的领英档案

作业

4 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有6个模块

In this module, we will introduce the foundational elements required to start your journey with building a ChatGPT AI using JavaScript and OpenAI. We will cover the course overview, explore the final model, and delve into essential technologies like Next.js, React.js, Node.js, and NPM. Additionally, you will learn to install and configure your development environment, including Visual Studio Code, and understand the file structure necessary for the project.

涵盖的内容

8个视频1篇阅读材料

In this module, we will focus on the client-side code essential for building the ChatGPT AI application. You will get an overview of key index and starter coding files, clean up and comment the index file for better clarity, and write a form in React using Next.js. We will also introduce React hooks and state management to help you build a more interactive and dynamic chatbot application.

涵盖的内容

4个视频1个插件

In this module, we will enhance the functionality of the ChatGPT application by adding state and hooks. You will learn how to update the state for handling user inputs, especially for personalized queries like animal-related topics. We will integrate onSubmit functionality to connect the application with the OpenAI API, and use async/await and fetch methods to handle post requests and data responses efficiently.

涵盖的内容

4个视频1个作业1个插件

In this module, we will delve into the OpenAI API setup and its documentation. You will examine practical examples of using the OpenAI API to generate text, answer questions, and create chatbots. Additionally, you will learn how to securely manage your ChatGPT API key and implement environment security protocols to protect your application from potential breaches.

涵盖的内容

2个视频1个插件

In this module, we will focus on styling the OpenAI application to make it visually appealing and user-friendly. You will learn how to apply CSS styling to the form elements and add result styling to improve the appearance of the output. This will ensure that your ChatGPT application is not only functional but also aesthetically pleasing.

涵盖的内容

2个视频1个插件

In this module, we will cover advanced topics related to the OpenAI API configuration with ChatGPT. You will learn how to demonstrate a call and response example to optimize and personalize chatbot responses. Additionally, we will teach you how to implement robust error handling and logic completion techniques to ensure your application can handle unexpected inputs and provide accurate responses.

涵盖的内容

2个视频3个作业

位教师

Packt - Course Instructors
Packt
971 门课程234,954 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题