Packt
The Complete OpenAI JS APIs Course - Build 15 Projects
Packt

The Complete OpenAI JS APIs Course - Build 15 Projects

包含在 Coursera Plus

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

推荐体验

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

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Master how to integrate OpenAI's models (GPT-3, GPT-4, Whisper, DALL-E) into real-world projects.

  • Learn to create dynamic web applications that respond to user input using the OpenAI API.

  • Gain proficiency in managing API parameters like temperature, max tokens, and stop sequences.

  • Develop projects that utilize text, image, and speech AI models to enhance user experience.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

August 2025

作业

18 项作业

授课语言:英语(English)

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

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

该课程共有18个模块

In this module, we will introduce you to the course, covering the essential concepts and tools you will use. You’ll learn how to interact with OpenAI’s API, set up your API key, and begin building your very first project: a text completion app. This section lays the foundation for the more complex projects ahead.

涵盖的内容

11个视频1篇阅读材料

In this module, we will dive into the diverse applications of ChatGPT and explore how to leverage its power for real-world tasks. From text completion to complex use cases like sentiment analysis and code generation, you’ll gain hands-on experience applying ChatGPT's abilities. By the end of this section, you'll be equipped to tackle a wide range of challenges using the OpenAI API.

涵盖的内容

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

In this module, we will explore the critical parameters that govern how the OpenAI API generates responses. You’ll learn how to fine-tune the temperature, tokens, and stop sequences for better output control, while diving into advanced features like top P and penalties for improved response variety and relevance. By the end, you'll have a deeper understanding of how to optimize your API interactions for different use cases.

涵盖的内容

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

In this module, we will dive into OpenAI’s streaming capabilities, enabling real-time interaction with the API. You will learn how to establish a stream connection, listen for events in your backend, and handle the dynamic flow of data in your frontend application. By the end, you'll be equipped to build highly interactive and responsive applications powered by OpenAI’s stream API.

涵盖的内容

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

In this module, we will explore the art of prompt engineering to maximize the effectiveness of your interactions with ChatGPT. You’ll learn practical techniques like specifying context, refining response formats, and using shot-based approaches to enhance the model's performance. By mastering these strategies, you'll be able to craft more precise, relevant, and engaging prompts for a wide range of use cases.

涵盖的内容

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

In this module, we will guide you through the process of building a fully functional PDF book summarizer app. You’ll learn how to create the app’s interface, extract text from uploaded PDFs, and break the text into manageable chunks for summarization. By the end, you'll have developed an app that processes large PDF files and generates clear, concise summaries using OpenAI’s API.

涵盖的内容

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

In this module, we will explore the Chat API and build a live weather app that interacts with real-time data. You’ll learn how to send your first request to the Chat API, compare different models (GPT-3 vs GPT-4), and use function calling to connect to external services. By the end, you’ll be able to create an app that retrieves weather data and presents it in natural language through ChatGPT.

涵盖的内容

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

In this module, we will guide you through the creation of an interactive chatbot app where users can converse with historical and contemporary figures like Einstein, Steve Jobs, and Bill Gates. You’ll learn how to design the user interface, manage message states, and dynamically adjust the conversation based on the selected personality. By the end, you’ll have a chatbot that responds in character, providing a personalized experience for each user.

涵盖的内容

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

In this module, we will explore the concept of embeddings and how they are used to measure the similarity between text inputs. You’ll learn how to create a simple app that generates embeddings for user inputs and calculates the cosine similarity between them. Additionally, you’ll gain insight into the costs associated with generating embeddings, providing a well-rounded understanding of this powerful NLP technique.

涵盖的内容

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

In this module, you will build an exciting book recommendations app that suggests books based on user preferences. You’ll start by downloading and converting a book dataset, then calculate embeddings for each book description. You’ll compare user inputs with these embeddings to find the most relevant book recommendations, and finally, display these recommendations in an interactive user interface. To add a visual touch, you’ll even map your book data in a 2D space using Atlas. By the end of the module, you’ll have a fully functional book recommendation app!

涵盖的内容

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

In this module, we will guide you through creating an app that allows users to interact with any PDF document via a chatbot interface. You’ll learn how to extract text from PDFs, split the content into chunks, and calculate embeddings to match user queries with relevant sections. Additionally, you’ll build the chat container and manage the flow of messages between the user and the PDF content. By the end of this section, you will have a functional app that enables conversational access to PDF documents.

涵盖的内容

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

In this module, you will explore the exciting world of image generation using DALL-E. You will learn how to integrate the DALL-E model into an app to create images from text prompts. The module will cover displaying the generated images in your React app, and also how to implement image storage with a POST request. By the end of this section, you’ll have a fully functioning text-to-image app powered by DALL-E.

涵盖的内容

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

In this module, you will create a powerful image editing app that combines the artistic capabilities of DALL-E with the flexibility of a canvas interface. You will start by building the user interface and setting up image uploads, then move on to drawing and masking features within the canvas. Finally, you will learn how to send requests to the server for applying edits and saving both original and masked images. By the end, you’ll have a fully functional image editing app capable of generating and modifying images based on user interactions.

涵盖的内容

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

In this module, you will learn how to create an app that takes an image input and generates different variations using DALL-E. You will explore how to interact with the OpenAI API to produce these variations and display them in your application. By the end of this section, you’ll have built an app that gives users the ability to see multiple artistic renditions of any uploaded image.

涵盖的内容

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

In this module, you will create an audio-to-text transcription app powered by OpenAI's Whisper model. You’ll learn how to build the user interface for audio file uploads, implement React handlers, and set up server-side functionality to save and transcribe audio files. By the end of this section, you’ll have a fully functional app that converts audio into text and leverages Whisper’s advanced features for accurate transcription.

涵盖的内容

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

In this module, you will develop an audio translation app that uses Whisper to convert spoken language from various audio files into English text. You’ll learn how to handle audio file uploads and integrate the Whisper API for seamless translation. By the end of this section, you’ll have a working app capable of translating audio content into text in real-time.

涵盖的内容

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

In this module, you will build a speech-to-text app by leveraging OpenAI's Whisper model for accurate transcription. You will adapt code from earlier projects to create a smooth and efficient transcription experience. By the end of this section, you’ll have an app that transcribes real-time speech into text, ready to be used in various applications.

涵盖的内容

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

In this module, you will create an app that translates spoken language into English text using Whisper. You’ll learn how to capture and process speech, then send it to Whisper for translation. By the end of this section, you’ll have a fully functional app capable of translating speech into English instantly.

涵盖的内容

1个视频2个作业

位教师

Packt - Course Instructors
Packt
971 门课程231,340 名学生

提供方

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 的全球公司

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

常见问题