Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building AI Applications with OpenAI APIs

You're reading from   Building AI Applications with OpenAI APIs Leverage ChatGPT, Whisper, and DALL-E APIs to build 10 innovative AI projects

Arrow left icon
Product type Paperback
Published in Oct 2024
Publisher Packt
ISBN-13 9781835884003
Length 252 pages
Edition 2nd Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Martin Yanev Martin Yanev
Author Profile Icon Martin Yanev
Martin Yanev
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1:Getting Started with OpenAI APIs FREE CHAPTER
2. Chapter 1: Getting Started with the ChatGPT API for NLP Tasks 3. Chapter 2: Building a ChatGPT Clone 4. Part 2: Build Web Applications with ChatGPT API
5. Chapter 3: Creating and Deploying a Code Bug-Fixing Application Using Flask 6. Chapter 4: Integrating the Code Bug-Fixing Application with a Payment Service 7. Chapter 5: Quiz Generation App with ChatGPT and Django 8. Part 3: ChatGPT, DALL-E, and Whisper APIs for Desktop Apps Development
9. Chapter 6: Language Translation Desktop App with the ChatGPT API and Microsoft Word 10. Chapter 7: Building an Outlook Email Reply Generator 11. Chapter 8: Essay Generation Tool with PyQt and the ChatGPT API 12. Chapter 9: Integrating the ChatGPT and DALL-E APIs: Building an End-to-End PowerPoint Presentation Generator 13. Chapter 10: Speech Recognition and Text-to-Speech with the Whisper API 14. Part 4: Advanced Concepts for Powering ChatGPT Apps
15. Chapter 11: Choosing the Right ChatGPT API Model 16. Chapter 12: Fine-Tuning ChatGPT to Create Unique API Models 17. Index 18. Other Books You May Enjoy

Technical requirements

To fully benefit from this chapter, you will require some fundamental tools. In-depth explanations of all installations not covered in the preceding chapter will be provided.

You will require the following:

  • Python 3.7 or later installed on your computer
  • An OpenAI API key, obtained from your OpenAI account
  • A code editor, such as VSCode (recommended)
  • The Flask framework installed in your Python virtual environment

The code examples from this chapter can be found on GitHub at https://github.com/PacktPublishing/Building-AI-Applications-with-ChatGPT-API.

In the next section, we will start building the ChatGPT clone with Flask by setting up a backend that communicates with the ChatGPT API to generate responses to user input. You will create a simple Flask application and gradually enhance it by incorporating the ChatGPT API. We will also structure the code and store the ChatGPT API key as an environment variable to improve its security...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime