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

Using PyDub for longer audio inputs

In this section, we will explore the integration of PyDub, a powerful audio processing library for Python, with the Whisper API to overcome the file size limitation of 25 MB imposed by the API. With PyDub, we can efficiently split large audio files into smaller segments, enabling the seamless transcription of lengthy recordings. By following the instructions and leveraging PyDub’s capabilities, you will be able to harness the full potential of the Whisper API for transcribing audio files of any size.

Leveraging the power of PyDub to enhance your language transcription workflow is a straightforward process. By utilizing this library, you can effortlessly divide lengthy audio files into smaller segments. For instance, if you have a 10-minute audio file, you can easily split it into two separate files, each with a duration of 5 minutes. These smaller files can then be submitted to the Whisper API for transcription, ensuring that your files...

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 $19.99/month. Cancel anytime