This is the code repository for Building AI Applications with OpenAI APIs, published by Packt.
Leverage ChatGPT, Whisper, and DALL-E APIs to build 10 innovative AI projects
Unlock the power of AI in your applications with ChatGPT with this practical guide that shows you how to seamlessly integrate OpenAI APIs into your projects, enabling you to navigate complex APIs and ensure seamless functionality with ease.
This book covers the following exciting features:
- Develop a solid foundation in using the OpenAI API for NLP tasks
- Build, deploy, and integrate payments into various desktop and SaaS AI applications
- Integrate ChatGPT with frameworks such as Flask, Django, and Microsoft Office APIs
- Unleash your creativity by integrating DALL-E APIs to generate stunning AI art within your desktop apps
- Experience the power of Whisper API’s speech recognition and text-to-speech features
- Find out how to fine-tune ChatGPT models for your specific use case
- Master AI embeddings to measure the relatedness of text strings
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY")
Following is what you need for this book: This book is for a diverse range of professionals, including programmers, entrepreneurs, and software enthusiasts. Beginner programmers, Python developers exploring AI applications with ChatGPT, software developers integrating AI technology, and web developers creating AI-powered web applications with ChatGPT will find this book beneficial. Scholars and researchers working on AI projects with ChatGPT will also find it valuable. Basic knowledge of Python and familiarity with APIs is needed to understand the topics covered in this book.
With the following software and hardware list you can run all code files present in the book (Chapter 1-12).
Chapter | Software required | OS required |
---|---|---|
1-12 | Python | Windows, macOS, or Linux |
1-12 | Django | Windows, macOS, or Linux |
1-12 | Flask | Windows, macOS, or Linux |
1-12 | PyQt | Windows, macOS, or Linux |
1-12 | OpenAI library | Windows, macOS, or Linux |
1-12 | Stripe | Windows, macOS, or Linux |
Martin Yanev is a highly accomplished software engineer with a wealth of expertise spanning diverse industries, including aerospace and medical technology. With an illustrious career of over eight years, Martin has carved a niche for himself in developing and seamlessly integrating cutting-edge software solutions for critical domains such as air traffic control and chromatography systems. Renowned as an esteemed instructor and a computer science professor at Fitchburg State University, Martin has empowered an impressive global community of over 280,000 students. His instructional prowess shines through as he imparts knowledge and guidance, leveraging his extensive proficiency in frameworks such as Flask, Django, pytest, and TensorFlow. Possessing a deep understanding of the complete spectrum of OpenAI APIs, Martin exhibits mastery in constructing, training, and fine-tuning AI systems. Martin’s commitment to excellence is exemplified by his dual master’s degrees in aerospace systems and software engineering. This remarkable academic achievement underscores his unwavering dedication to both the practical and theoretical facets of the industry. With his exceptional track record and multifaceted skill set, Martin continues to propel innovation and drive transformative advancements in the ever-evolving landscape of software engineering.