MCPcopy Create free account
hub / github.com/PacktPublishing/Building-AI-Applications-with-ChatGPT-APIs

github.com/PacktPublishing/Building-AI-Applications-with-ChatGPT-APIs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
41 symbols 196 edges 43 files ⚖ MIT 1 documented · 2% updated 4mo ago★ 1094 open issues

Browse by type

Functions 33 Types & classes 3 Endpoints 5
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Building AI Applications with OpenAI APIs

Book Name

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

What is this book about?

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!

https://www.packtpub.com/

Instructions and Navigations

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).

Software and Hardware List

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

Related products

Get to Know the Author

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.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 28
Method 5
Route 5
Class 3

Languages

Python100%

Modules by API surface

Chapter04 CodeBugFixer/app.py8 symbols
Chapter08 ArticleGenerator/main.py5 symbols
Chapter05 QuizApp/quiz_project/quiz_app/views.py5 symbols
Chapter05 QuizApp/quiz_project/quiz_app/services.py4 symbols
Chapter02 ChatGPTClone/app.py4 symbols
Chapter09 PowerPoint Generator/app.py2 symbols
Chapter07 ReplyTool/main.py2 symbols
Chapter06 WordTranslator/app.py2 symbols
Chapter03 CodeBugFixer/app.py2 symbols
Chapter11 Models/temperature.py1 symbols
Chapter11 Models/rate_limits.py1 symbols
Chapter11 Models/n_parameter.py1 symbols

For agents

$ claude mcp add Building-AI-Applications-with-ChatGPT-APIs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page