This mini-book is a comprehensive 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 ChatGPT and explain how they work. You'll also get a step-by-step guide for developing applications using the GPT-4 and ChatGPT Python library, including text generation, Q&A, and content summarization tools.
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:
- The fundamentals and benefits of ChatGPT and GPT-4 and how they work
- How to integrate these models into Python-based applications for NLP tasks
- How to develop applications using GPT-4 or ChatGPT APIs in Python for text generation,
question-and-answer, and content summarization, among other tasks
- Advanced GPT topics, including prompt engineering, fine-tuning models for specific tasks, plug-ins,
and more
Olivier Caelen holds two master's degrees (in Statistics and Computer Science) and obtained his Ph.D. from the Machine Learning Group of the Université Libre de Bruxelles under the supervision of Professor Gianluca Bontempi. During his thesis, he worked on optimal sequential selection algorithms in the context of the bandit problem. After his thesis, he spent 8 years at Worldline (a former Atos company). Five years in the credit card fraud detection team and three years in the R&D department. His research at Worldline focused on machine learning techniques for anomaly and fraud detection. From 2018 to 2021, he was the lead data scientist in Orange Belgium. At Orange Belgium, the projects he had to work on were mainly focused on topics related to the marketing team (e.g. churn detection, up-selling, cross-selling, and prospecting). In 2021, he was the Data Science Manager at Levi's Europe, in charge of all supply chain-related projects. Since 2022, he is back in the R&D department of Worldline.
Olivier Caelen also teaches, sharing his experience in two courses. A course on the basics of machine learning at the Université libre de Bruxelles and another at ECAM on deep learning techniques.
He is also a co-author of 42 publications in international peer-reviewed scientific journals/conferences and co-inventor of 6 patents.
Marie-Alice Blete currently works at Worldline's R&D department as a software architect and data engineer. She preaches engineering best practices to her fellow Data Scientists colleagues and is particularly interested in the performance and latency issues associated with the deployment of AI solutions. She is leading a program on AI-augmented developers.
She is also a developer avocate and enjoys sharing her knowledge and engaging with the community as a tech speaker.
The code accompanying our book is accessible to the public in our repository. This repository is continuously being updated and reviewed to include additional information that goes beyond what is covered in the book.
You can find the errata of the book available here. We would like to extend our appreciation to our attentive readers. We welcome any suggestions for technical or grammatical changes through the provided platform.
The animal on the cover of Developing Apps in GPT-4 and ChatGPT is a spiny brittle
star (Ophiothrix spiculata), also known as Alexander’s spiny brittle star or banded
brittle star. The illustration is by Karen Montgomery.
We did not choose it, but we were asked to give our opinion.