Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

Book review: “Developing Apps with GPT-4 and ChatGPT”

  • October 22, 2023
  • 12682 Unique Views
  • 2 min read
Table of Contents
About the bookMy thoughts

Whether you're pro or con the usage of AI, LLMs, and ChatGPT one cannot deny that there are a plethora of possibilities now available to us.

Now, given the rapid shift in this field, a lot of us are left with a lot of queries such as: what are the differences between the models, how do I query them and of course, how can I use them to my advantage?

That's where this useful book by Olivier Caelen and Marie-Alice Blete comes in particularly handy. It offers us some interesting insights into the various models, and how to make use of these using the ChatGPT Python library.

price: €59.99 for the eBook
publication date: September 2023
publisher: O'Reilly Media, Inc.
pages: 157
ISBN: 9781098152482

About the book

The book starts of with a brief introduction of the key concepts of various generative models, and the evolutions & challenges behind Large Language Models (LLMs) and Generative Pre-trained Transformer (GPT) that led us to this point.

  • how predictions work
  • tokenization
  • bias
  • how LLMs are trained
  • the use of vector databases to retrieve complex data in a structured and efficient manner
  • ...

It then takes us for a brief stroll through the history of ChatGPT, the challenges encountered, and why there are different models.

Then we consider different possible uses such as learning a new language (Duolingo), improving quality of life (Be my eyes), ...

To wrap up the introduction we take a look at the new possibilities thanks to the plugin system.

As to the meat of the book: we start of by experimenting within the OpenAI Playground, before diving into the actual fun bits.

We learn about

  • prompts, the different variants & their finetuning
  • the tokenization system (and the associated costs)
  • how to use a variety of APIs to develop simple applications (moderation, news generation, ...)
  • finetuning models
  • the plugin system to add capabilities
  • What (not) to do

My thoughts

It's a very interesting book which gives thorough, practical examples using a new & rapidly evolving tool. Pro or contra, it's a very worthwhile read, so you can better evaluate the potential for your own use-cases.

For me, it also provided some interesting insights into how to avoid/reduce hallucinations/finetuning my queries, feed it more (up to date) data, and how to provide extra functionality to create a better user experience. It's certainly given me a lot of food for thought for my own "Simon says" application.

I was lucky enough to meet Marie-Alice at Devoxx where she gave a very interesting talk, so if you want to get some more insights I highly recommend watching it:

https://www.youtube.com/watch?v=7dY8N97qy0k

In case Java is more your forte than Python, there's also the useful langchain4j library.

Book Review: “API Design Patterns”

This review is about API Design Patterns by JJ Geewax from Manning. Check it out and if you’ve read it too, what did you think?

Book Review: “Designing APIs with Swagger and OpenAPI”

This review is about Designing APIs with Swagger and OpenAPI by Joshua S. Ponelat and Lukas L. Rosenstock from Manning.

Book Review: “Effortless Cloud-Native App Development Using Skaffold”

There is no better time than the present for a book such as this, which can surely be seen to be some kind of Skaffold Bible.

The author provides a complete and thorough overview of the central issues faced by users of Kubernetes, presents Skaffold as a solution, highlights its features and pitfalls, while placing it within the context of the broader ecosystem of comparable solutions.

GetYourHandsDirtyOnCleanArchitecture
Book review: “Get Your Hands Dirty on Clean Architecture – Second Edition”

A magnificent job of walking through a lot the different architectural considerations one has to make to develop maintainable code.

Book Review: “Help Your Boss Help You”

Some books were written to be read once and put aside, others to be read thoroughly several times and then to be placed behind glass to be broken in case of emergency.

This book is of the latter kind—once you’ve read through it a few times, and dipped into the areas that speak to you most, you want to have it nearby both as a PDF and in hard copy format—as a backup just in case you can’t find that PDF at the crucial moment when you really need to have a response at hand in times of crisis.

Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

Comments (1)

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Unlocking ChatGPT's Power: A Deep Dive into the Future of AI App Development - SXStudio

8 months ago

[…] The book provides hands-on examples to illustrate the practical use of GPT-4 and LangChain: (Book review: “Developing Apps with GPT-4 and ChatGPT” – Foojay.io) […]

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Mastodon

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard