My Account Log in

2 options

Building AI Applications with ChatGPT APIs : Master ChatGPT, Whisper, and DALL-E APIs by Building Ten Innovative AI Projects / Martin Yanev.

Knovel General Engineering & Project Administration Academic Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Yanev, Martin, author.
Language:
English
Subjects (All):
ChatGPT.
Artificial intelligence--Computer programs.
Artificial intelligence.
Physical Description:
1 online resource (258 pages)
Edition:
First edition.
Place of Publication:
Birmingham, England : Packt Publishing Ltd., [2023]
Biography/History:
Yanev Martin: Martin Yanev is an experienced Software Engineer who has worked in the aerospace and industries for over 8 years. He specializes in developing and integrating software solutions for air traffic control and chromatography systems. Martin is a well-respected instructor with over 280, 000 students worldwide, and he is skilled in using frameworks like Flask, Django, Pytest, and TensorFlow. He is an expert in building, training, and fine-tuning AI systems with the full range of OpenAI APIs. Martin has dual master's degrees in Aerospace Systems and Software Engineering, which demonstrates his commitment to both practical and theoretical aspects of the industry.
Summary:
Enhance your application development skills with the power of the ChatGPT API, mastering innovative application building, model fine-tuning, and tool integration through practical examples Key Features Become proficient in building AI applications with ChatGPT, DALL-E, and Whisper Understand how to select the optimal ChatGPT model and fine-tune it for your specific use case Monetize your applications by integrating the ChatGPT API with Stripe Purchase of the print or Kindle book includes a free PDF eBook Book Description Combining ChatGPT APIs with Python opens doors to building extraordinary AI applications. By leveraging these APIs, you can focus on the application logic and user experience, while ChatGPT's robust NLP capabilities handle the intricacies of human-like text understanding and generation. This book is a guide for beginners to master the ChatGPT, Whisper, and DALL-E APIs by building ten innovative AI projects. These projects offer practical experience in integrating ChatGPT with frameworks and tools such as Flask, Django, Microsoft Office APIs, and PyQt. Throughout this book, you'll get to grips with performing NLP tasks, building a ChatGPT clone, and creating an AI-driven code bug fixing SaaS application. You'll also cover speech recognition, text-to-speech functionalities, language translation, and generation of email replies and PowerPoint presentations. This book teaches you how to fine-tune ChatGPT and generate AI art using DALL-E APIs, and then offers insights into selling your apps by integrating ChatGPT API with Stripe. With practical examples available on GitHub, the book gradually progresses from easy to advanced topics, cultivating the expertise required to develop, deploy, and monetize your own groundbreaking applications by harnessing the full potential of ChatGPT APIs. What you will learn Develop a solid foundation in using the ChatGPT API for natural language processing tasks Build, deploy, and capitalize on a variety of desktop and SaaS AI applications Seamlessly integrate ChatGPT with established frameworks such as Flask, Django, and Microsoft Office APIs Channel your creativity by integrating DALL-E APIs to produce stunning AI-generated art within your desktop applications Experience the power of Whisper API's speech recognition and text-to-speech features Discover techniques to optimize ChatGPT models through the process of fine-tuning Who this book is for With best practices, tips, and tricks for building applications using the ChatGPT API, this book is for programmers, entrepreneurs, and software enthusiasts. Python developers interested in AI applications involving ChatGPT, software developers who want to integrate AI technology, and web developers looking to create AI-powered web applications with ChatGPT will also find this book useful. A fundamental understanding of Python programming and experience of working with APIs will help you make the most of this book.
Contents:
Cover
Title Page
Copyright and Credits
Contributors
Table of Contents
Preface
Part 1:Getting Started with OpenAI APIs
Chapter 1: Beginning with the ChatGPT API for NLP Tasks
Technical Requirements
The ChatGPT Revolution
Using ChatGPT from the Web
Creating an OpenAI Account
ChatGPT Web Interface
Getting Started with the ChatGPT API
Obtaining an API Key
API Tokens and Pricing
Setting Up Your Python Development Environment
Installing Python and the PyCharm IDE
Setting Up a Python Virtual Environment
The pip Package Installer
Building a Python Virtual Environment from the Terminal
A Simple ChatGPT API Response
Summary
Chapter 2: Building a ChatGPT Clone
Creating a ChatGPT Clone with Flask
Frontend HTML Generation
Enhancing the ChatGPT Clone Design
Intercepting ChatGPT API Endpoints
Part 2: Building Web Applications with the ChatGPT API
Chapter 3: Creating and Deploying an AI Code Bug Fixing SaaS Application Using Flask
Performing Multiple ChatGPT API Requests
Setting Up the Code Bug Fixer Project
Implementing the Code Bug Fixer Backend
Using Text Areas and Containers
Testing the Code Bug Fixer App
Deploying the ChatGPT App to the Azure Cloud
Chapter 4: Integrating the Code Bug Fixer Application with a Payment Service
Integrating Payments with Stripe
Setting Up a SQL User Database
Initializing a SQL Database
Getting a Browser Fingerprint ID
Tracking Application Users
Implementing the Usage Counters
Adding Payments to a ChatGPT Application
Building the Payments Page
Confirming User Payments
Chapter 5: Quiz Generation App with ChatGPT and Django
Building a Django Project.
Creating the Exam App Frame and Views
Connecting Django Views and URLs
Developing Django Templates
Running Your Django Application
Integrating ChatGPT and Django for Quiz Generation
Building the Quiz Generation Text Area and Submit Button
Creating ChatGPT API Views with Django
Storing and Downloading Generated Quizzes
Saving the Quizzes in an SQLite Database
Building the Download Quiz View
Designing the Download Template
Part 3: The ChatGPT, DALL-E, and Whisper APIs for Desktop Apps Development
Chapter 6: Language Translation Desktop App with the ChatGPT API and Microsoft Word
Integrating ChatGPT API with Microsoft Office
Building a User Interface with Tkinter
Integrating Microsoft Word Text with the ChatGPT API
Translating a Word Text with ChatGPT 3.5 Turbo
Chapter 7: Building an Outlook Email Reply Generator
Passing Outlook Data to the ChatGPT API
Setting Up the Outlook Email
Accessing Email Data with the win32com Client
Generating automatic email replies
Chapter 8: Essay Generation Tool with PyQt and the ChatGPT API
Building a Desktop Application with PyQT
Setting Up the Essay Generation Tool Project
Building the Application GUI with PyQt
Creating Essay Generation Methods with the ChatGPT API
Controlling the ChatGPT API Tokens
Chapter 9: Integrating ChatGPT and DALL-E API: Build End-to-End PowerPoint Presentation Generator
Using DALL-E and the DALL-E API
Building PowerPoint Apps with the PPTX Python Framework
Generating Art with the DALL-E API
Finalizing and Testing the AI Presentation Generator
Chapter 10: Speech Recognition and Text-to-Speech with the Whisper API
Technical Requirements.
Implementing Text Translation and Transcription with the Whisper API
Building a Voice Transcriber Application
Using PyDub for Longer Audio Inputs
Part 4: Advanced Concepts for Powering ChatGPT Apps
Chapter 11: Choosing the Right ChatGPT API Model
ChatGPT API Models - GPT-3, GPT-4, and Beyond
Using Chat Completion Parameters
ChatGPT API Rate Limits
Chapter 12: Fine-Tuning ChatGPT to Create Unique API Models
Fine-Tuning ChatGPT
Fine-Tuned Model Dataset Preparation
Building and Using the Fine-Tuned Model
Index
Other Books You May Enjoy.
Notes:
Includes index.
Description based on print version record.
ISBN:
9781805128601
1805128604
OCLC:
1396975373

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account