Book description
This book provides an ideal guide for Python developers who want to learn how to build applications with large language models. Authors Olivier Caelen and Marie-Alice Blete cover the main features and benefits of GPT-4 and GPT-3.5 models and explain how they work. You'll also get a step-by-step guide for developing applications using the OpenAI Python library, including text generation, Q&A, and smart assistants.
Written in clear and concise language, Developing Apps with GPT-4 and ChatGPT includes easy-to-follow examples to help you understand and apply the concepts to your projects. Python code examples are available in a GitHub repository, and the book includes a glossary of key terms. Ready to harness the power of large language models in your applications? This book is a must.
You'll learn:
- Fundamentals and benefits of GPT-4 and GPT-3.5 models, including the main features and how they work
- How to integrate these models into Python-based applications, leveraging natural language processing capabilities and overcoming specific LLM-related challenges
- Examples of applications demonstrating the OpenAI API in Python for tasks including text generation, question answering, content summarization, classification, and more
- Advanced LLM topics such as prompt engineering, fine-tuning models for specific tasks, RAG, plug-ins, LangChain, LlamaIndex, GPTs, and assistants
Olivier Caelen is a machine learning researcher at Worldline and teaches machine learning courses at the University of Brussels.
Marie-Alice Blete, a software architect and data engineer in Worldline's R&D department, is interested in performance and latency issues associated with AI solutions.
Publisher resources
Table of contents
- Preface
- 1. GPT-4 and ChatGPT Essentials
- 2. A Deep Dive into the OpenAI API
-
3. Navigating LLM-Powered Applications: Capabilities and Challenges
- App Development Overview
- Software Architecture Design Principles
- Integrating LLM Capabilities into Your Projects
-
Example Projects
- Project 1: Building a News Generator Solution—Language Processing
- Project 2: Summarizing YouTube Videos—Language Processing
- Project 3: Creating an Expert for Zelda BOTW—Language Processing and Conversations
- Project 4: Having a Personal Assistant—Human-Computer Interface
- Project 5: Organizing Documents—Language Processing
- Project 6: Analyzing Sentiments—Language Processing
- Cost Management
- LLM-Powered App Vulnerabilities
- Working with an External API
- Summary
- 4. Advanced LLM Integration Strategies with OpenAI
- 5. Advancing LLM Capabilities with Frameworks, Plug-Ins, and More
- 6. Putting It All Together
- Glossary of Key Terms
- A. Tools, Libraries, and Frameworks
- Index
- About the Authors
Product information
- Title: Developing Apps with GPT-4 and ChatGPT, 2nd Edition
- Author(s):
- Release date: July 2024
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098168100
You might also like
book
Developing Apps with GPT-4 and ChatGPT
This minibook is a comprehensive guide for Python developers who want to learn how to build …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Designing Data-Intensive Applications, 2nd Edition
Data is at the center of many challenges in system design today. Difficult issues such as …
book
Building LLM Powered Applications
Get hands-on with GPT 3.5, GPT 4, LangChain, Llama 2, Falcon LLM and more, to build …