Generative AI for Web Development
Год издания: 2024
Автор: Auger T., Saroyan E.
Издательство: Apress
ISBN: 979-8-8688-0885-2
Язык: Английский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 247
Описание: Explore the world of Generative AI and understand why it matters. This book is divided into two parts, introducing tools such as ChatGPT, DALL-E, and will show you how to use them to build AI-powered web apps.
The first part of the book describes Generative AI and covers the essential models and APIs from OpenAI. Legal, ethical, and security considerations are discussed to help you decide whether it is an appropriate tool for your projects. You'll then review ChatGPT and see how to use it effectively for generating code. This is followed by a review of best practices, and tips and techniques for getting around the limitations of ChatGPT and other OpenAI APIs.
The second part of the book provides practical guide to building a series of web apps with Next.js that showcase how to use the OpenAI APIs. For example, you'll learn how to build a Story/Poetry generator, a language learning app, and a blog site with a custom Chatbot widget. The code for the web apps is generated using ChatGPT.
When done with this book, you'll have a clear understanding of Generative AI and be well on your way to building web applications powered by OpenAI APIs and Next.js.
What You Will Learn:
- Assess the legal, ethical, and security concerns with using Generative AI in web applications
- Review the latest APIs provided by OpenAI for generating text and image
- Use ChatGPT to generate code for web projects, as well as tips and tricks to working around the limitations.
Примеры страниц (скриншоты)
Оглавление
About the Authors xi
About the Technical Reviewer xiii
Acknowledgments xv
Introduction xvii
Part I: Generative AI 1
Chapter 1: What Is Generative AI? 3
Chapter 2: Legal, Ethical, and Security Considerations 15
Chapter 3: Introduction to ChatGPT 27
Chapter 4: Introduction to DALL-E 47
Chapter 5: Building Web Apps with ChatGPT and DALL-E 63
Chapter 6: Overview of the OpenAI APIs 87
Chapter 7: Alternative Models to OpenAI 117
Part II: Building Generative AI–Powered Web Apps 131
Chapter 8: Building a Story/Poetry Generator 133
Chapter 9: Building a Language Learning App 165
Chapter 10: Building a Blog with a Custom Chatbot 197
Chapter 11: The Future of Generative AI 231
Index 241