Building AI Applications with ChatGPT APIs Master ChatGPT, Whisper, and DALL-E APIs by Building Ten Innovative AI Projects

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

Descripción completa

Detalles Bibliográficos
Otros Autores: Yanev, Martin, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, England : Packt Publishing Ltd [2023]
Edición:First edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009768139106719
Tabla de Contenidos:
  • 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
  • Technical Requirements
  • Creating a ChatGPT Clone with Flask
  • Frontend HTML Generation
  • Enhancing the ChatGPT Clone Design
  • Intercepting ChatGPT API Endpoints
  • Summary
  • Part 2: Building Web Applications with the ChatGPT API
  • Chapter 3: Creating and Deploying an AI Code Bug Fixing SaaS Application Using Flask
  • Technical Requirements
  • 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
  • Summary
  • Chapter 4: Integrating the Code Bug Fixer Application with a Payment Service
  • Technical Requirements
  • 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
  • Summary
  • Chapter 5: Quiz Generation App with ChatGPT and Django
  • Technical Requirements
  • 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
  • Summary
  • 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
  • Technical Requirements
  • 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
  • Summary
  • Chapter 7: Building an Outlook Email Reply Generator
  • Technical Requirements
  • Passing Outlook Data to the ChatGPT API
  • Setting Up the Outlook Email
  • Accessing Email Data with the win32com Client
  • Generating automatic email replies
  • Summary
  • Chapter 8: Essay Generation Tool with PyQt and the ChatGPT API
  • Technical Requirements
  • 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
  • Summary
  • Chapter 9: Integrating ChatGPT and DALL-E API: Build End-to-End PowerPoint Presentation Generator
  • Technical Requirements
  • 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
  • Summary
  • 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
  • Summary
  • Part 4: Advanced Concepts for Powering ChatGPT Apps
  • Chapter 11: Choosing the Right ChatGPT API Model
  • Technical Requirements
  • ChatGPT API Models - GPT-3, GPT-4, and Beyond
  • Using Chat Completion Parameters
  • ChatGPT API Rate Limits
  • Summary
  • Chapter 12: Fine-Tuning ChatGPT to Create Unique API Models
  • Technical Requirements
  • Fine-Tuning ChatGPT
  • Fine-Tuned Model Dataset Preparation
  • Building and Using the Fine-Tuned Model
  • Summary
  • Index
  • Other Books You May Enjoy.