Account
Computer Science & Technology

Developing Apps with GPT-4 and ChatGPT

Build Intelligent Chatbots, Content Generators, and More

Developing Apps with GPT-4 and ChatGPT: a practical O'Reilly guide to building Python apps on large language models.

  • 244pages
  • Firstedition

This book is for you if you are

  • a Python developer ready to add large language model features to a real application
  • a technical lead scoping an LLM feature and needing to understand cost, latency, and architecture tradeoffs
  • a data scientist moving from notebook experiments to a deployed service that calls the OpenAI API

Why this book

Developing Apps with GPT-4 and ChatGPT is the hands-on guide from Olivier Caelen and Marie-Alice Blete for Python developers who want to ship real software on top of large language models. It is a compact first edition published by O'Reilly Media in 2023, written for working programmers rather than researchers. That focus is what makes it useful: it treats the LLM as an API you call, cost you control, and product you ship.

Most pages selling this book stop at the marketing copy. This one is built for the reader who needs to know what is actually inside:

  • Prompt engineering explained as an engineering discipline, with techniques you apply to your own application, not generic advice.
  • Practical use of the OpenAI Python library and the Chat Completions interface, including token accounting and parameter control.
  • Architectures for chatbot memory, retrieval of external knowledge, and the LangChain building blocks that hold them together.
  • Attention to cost, latency, and reliability — the three problems that decide whether an LLM feature survives contact with users.
  • A short, honest treatment of privacy and safety concerns you carry into production.

Because the authors stay on the application layer, the material ages better than framework-tutorial content and gives you a mental model you can reapply as models and SDKs change. Developers building a first LLM feature, technical leads scoping one, and data scientists moving from notebooks to deployed services get the most from it. Get your copy today.

What you'll learn

  • Apply prompt engineering techniques that hold up inside a production application
  • Call the OpenAI Python library and Chat Completions endpoint with controlled parameters
  • Design chatbot memory and retrieval so responses stay grounded in your own content
  • Assemble multi-step LLM workflows with the LangChain building blocks
  • Estimate and control token usage, cost, and latency before you ship
  • Evaluate model output and add safeguards for privacy and safety risks

Not the right book for: readers looking for deep learning theory or model training

Questions about this book

What Python background do I need to build apps with GPT-4 and ChatGPT?

You should be comfortable writing and running Python code and calling HTTP or library APIs. The book does not teach Python syntax; it assumes you already ship code and moves straight to model integration.

Does the book cover LangChain, or only the raw OpenAI API?

Both. It starts with direct calls through the OpenAI Python library and then introduces LangChain for prompt templates, memory, and chaining steps together in a larger application.

How does it handle prompt engineering for applications rather than chat?

Prompts are treated as an engineering artifact: structured instructions, few-shot examples, role framing, and output constraints, all aimed at repeatable behavior in software rather than one-off conversations.

Does it address cost, tokens, and latency in real deployments?

Yes. Token accounting, model choice, and response time are discussed as design constraints, so you can estimate spend and keep an interactive feature responsive.

Is this suitable for beginners with no machine learning experience?

Yes, if you can program. The authors stay on the application layer and explain the model concepts you need without requiring prior ML or deep learning work.

Can I get it in another format?

Yes. You get the PDF right away. Need EPUB, Kindle, Word or any other format? Email support@ebooksonline.si with your order number and we send it.

Does it work on Kindle?

Yes. Email support@ebooksonline.si with your order number and we send you a Kindle-ready file.

How many times can I download it?

As many times as you like. Sign in to your account and download it again at any time.

What if the file does not work?

Contact us with your order number and we will fix it or refund you.

Details

Author
Olivier Caelen and Marie-Alice Blete
Publisher
O'Reilly Media, Inc.
Edition
First edition, 2023
ISBN
9781098152482
Pages
244
Language
English
Formats
PDF (EPUB, Kindle or any other format on request)
File size
5.56 MB
Licence
Personal use, keep forever

Olivier Caelen and Marie-Alice Blete

Olivier Caelen and Marie-Alice Blete are the authors of this O'Reilly guide to building applications with GPT-4 and ChatGPT.

Buy with confidence

If your file does not open or download, we fix it or refund you. Read the refund policy.

More in Computer Science & Technology

See all
Cover of 10-Minute Focus by Daniel Walter

Get a free ebook

Join the list and get 10-Minute Focus free, plus a short note when new books arrive.

Your cart

No products in the cart.

Subjects

More

Look inside

Sample