Jump to ratings and reviews
Rate this book

Developing Apps with GPT-4 and ChatGPT: Build Intelligent Chatbots, Content Generators, and More

Rate this book
This minibook 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

125 pages, Paperback

Published January 30, 2024

26 people are currently reading
122 people want to read

About the author

Olivier Caelen

9 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
16 (17%)
4 stars
35 (38%)
3 stars
34 (37%)
2 stars
4 (4%)
1 star
1 (1%)
Displaying 1 - 16 of 16 reviews
Profile Image for Emre Sevinç.
176 reviews430 followers
September 20, 2023
The generative AI revolution and its most popular examples such as ChatGPT (Chat Generative Pre-trained Transformer) took the world by storm towards the end of 2022, and today, in 2023, not a day passes without hearing about yet another use for highly capable AI assistants that can answer your questions, do your homework, write your company report, create source code for your next programming project, and handle many other technical and professional challenges. Therefore, this is the perfect time to read this super practical book to see how Large Language Models and systems such as ChatGPT can help you build very smart, AI-powered solutions using the popular programming language Python.

If you are really (I mean really) curious about the technical background about these systems, in other words, if you are into computer science, you should read other more in-depth books such as Natural Language Processing with Transformers, Revised Edition, or the relevant introductory sections of Probabilistic Machine Learning: An Introduction. You might also want to check the web site Thinking Like Transformers. On the other hand, if you're impatient to quickly get your hands dirty and build the next AI-powered solution in Python, this will book will serve you perfectly in no time.

The world of generative AI and systems such as ChatGPT are moving at a breakneck speed, adding new features to make themselves smarter and more useful everyday, and this also includes the risk of breaking changes, as is almost always the case when you rely on publicly available APIs. This book admits such risks, and other pitfalls for people building solutions, with potential solutions.

Assuming you are a Python developer, after reading this book and studying practical Python source code examples, you will have a solid foundation on topics such as prompt engineering, few-shot learning, fine tuning, transfer learning, embeddings, vector databases, as well as tips and tricks to build complex, multi-step AI systems using programming frameworks such as LangChain.

The experienced authors will also warn you about various pitfalls and risks, especially regarding security and privacy, as well as the costs when using APIs provided by OpenAI: you should take these warnings seriously, especially if you're building AI-powered smart solutions for an enterprise.

Conclusion: I strongly recommend this short and easy to read book to Python developers who want get up to speed with AI APIs provided by OpenAI, so that they can quickly build mind-blowing applications.

PS: I also recommend to the curious readers the article "Can LLMs Really Reason and Plan?" by Subbarao Kambhampati, and the following papers: "Faith and Fate: Limits of Transformers on Compositionality", and "Hypothesis Search: Inductive Reasoning with Language Models".
Profile Image for Amid عميد.
258 reviews15 followers
July 26, 2024
The book is concise and to the point. It teaches you how to integrate the OpenAI API into your Python applications for natural language processing tasks. However, the title is somewhat misleading. I initially thought it would be a guide on developing apps using ChatGPT, rather than incorporating ChatGPT into existing apps. The book also explains why so many apps and websites now feature advanced chatbots. While the content is easy to follow, I couldn't practice along because using the OpenAI API incurs costs.
Profile Image for Tauras.
235 reviews31 followers
March 11, 2024
I think an issue with books about relatively new topics is the unstable nature and the rapid pace of evolution. It's quite difficult to maintain relevancy and maybe blogs are a better place for these kind of topics?

An okay book, I suppose.

Maybe once this settles down, it will be easier to reflect upon in more depth.
Profile Image for Francois D’Agostini.
61 reviews12 followers
September 11, 2023
Great small book, quick to read with tons of nice information on developing nice application with LLMs

Of course the information is on the surface, but it provides nice informations and ideas that allow you to better understand the range of application you can build

on my side, it allowed me to realize how much prompt techniques can be complex and create really innovative applications.

A great quick read, because the book does not spend too much time on just filling up pages. I got good value for my time.
Profile Image for dantelk.
208 reviews20 followers
June 23, 2024
I am among the ones who after seeing the capabilities of GPT, had a fear of their future as a software developer. However, getting insight and training about this new paradigm is trickier than it is supposed to be: initially I could not find any solid training path; they were either too shallow or too deep. Thankfully, this book helped me understand some basic concepts, some additional libraries and also gave guidance about pitfalls and security etc. Now I am more confident with understanding the beast we are dealing with.

This is not the first time that we hear of “revolution” in IT industry; it all started with chatbots, then Blockchan, Metaverse and now AI. I can't help thinking Sikim hıyar diyenin peşinden tuzlukla koşuyoruz* . After reading this book, again I am skeptical if AI is REALLY going to change the way we earn our bread… We’ll see.

I also recommend deeplearning dot ai website, they have fantastic free content and Andrew Ng and Isa Fulford are great tutors.

* = We are following the best IT practices as software development professionals.
Profile Image for Nutan Maheshwari.
142 reviews
June 11, 2024
This book is perfect for beginners like me. It covers the theoretical aspects of OpenAI models, explaining how they work, their terminology, and more. Additionally, it provides detailed coding tutorials for using OpenAI APIs, which have associated costs.

The book offers practical examples and exercises that facilitate hands-on experience, making it a comprehensive resource. While it took me longer than expected to finish because I wanted hands-on practice, the in-depth knowledge and practical skills gained were well worth the effort.
Profile Image for Ivan Fioravanti.
21 reviews8 followers
September 30, 2023
Good book on OpenAI, GPT, history of LLM. Programming part is a bit too generic and high level. Langchain is touched but again not enough. LangSmith not even mentioned while I think it’s key in developing apps with GPT and langchain
Profile Image for EngiNerdReview.
35 reviews
September 24, 2024
The book covers various aspects of LLM, from the historical evolution of models to simple examples of applying APIs and introducing advanced techniques available at the time of writing. If you aren’t following a comprehensive blog on LLM topics, this book is a great starting point before diving deeper into specific needs and applications.
The user interface has continued to update, so some examples in the book may not exactly match the current version. However, this won’t hinder your reading or understanding.
Profile Image for Mikhail Filatov.
365 reviews17 followers
December 21, 2023
This book is definitely of better quality than a lot of books written after ChatGPT madness started. A couple of interesting examples of apps, thoughtful discussion of some prompt engineering techniques.
But still a bit rushed…they dedicated a whole chapter to LLM history, but didn’t even said what is LangChain they dedicated several pages in chapter 5, and almost no useful information or examples for plugins.
Profile Image for Alper Çuğun.
Author 1 book89 followers
December 17, 2023
Don’t get me wrong this is a very useful book in that it’s absurdly applied. It has everything in it including commands, code and API docs to drag people through the process of building a ChatGPT app.

That does what it has to do but is just generally very thin. Also the explanations where things get a bit more complicated weren’t great which I think comes with the territory.
Profile Image for Diyavol Pasa.
2 reviews
July 20, 2023
The authors nicely explain what chatgpt, gpt-4 and large language modes are, and how to use them effectively.
Profile Image for Isaac.
146 reviews2 followers
April 3, 2024
Very application and example heavy with little theory or background. Good at getting you started in making applications but lacking in substance to flesh out these applications.
Profile Image for Smilexx.
8 reviews
February 18, 2025
Good book, making me known more about it information.
This entire review has been hidden because of spoilers.
Profile Image for bimri.
Author 2 books9 followers
January 11, 2024
On concluding reading this minibook; the words of Emad Mostaque rung true in mind: - "genAI is compression..." or something along that order.

LLMs have truly compressed the internet; and the sheer minuscule implementation details of this technology is proof. The total pages for this minibook alone should tell you that! And this is not a complaint - only the awakening that truly tech has changed. Previous software engineering books won't be expressed so succinctly. Tech is going to be so democratized.

As for the review of this book; "it is nice and all to comprehend the OpenAI APIs for development" - but if you are in hurry, just go the last chapter(five) and begin with LangChain. That is where these tooling systems are going to be prime on!

Otherwise, the Authors have done an incredible job introducing this tech to software developers and enthusiasts alike. It can't get any easier than that.
Displaying 1 - 16 of 16 reviews

Can't find what you're looking for?

Get help and learn more about the design.