Share E-Book
Scan to open this page

Scan with your phone to open this page

AuthorAmit Bahree

From the back cover: Generative AI in Action presents concrete examples, insights, and techniques for using LLMs and other modern AI technologies successfully and safely. In it, you'll find practical approaches for incorporating AI into marketing, software development, business report generation, data storytelling, and other typically-human tasks. You'll explore the emerging patterns for GenAI apps, master best practices for prompt engineering, and learn how to address hallucination, high operating costs, the rapid pace of change and other common problems. About the reader: For enterprise architects, developers, and data scientists interested in upgrading their architectures with generative AI.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
# Generative AI in Action — Reading Guide ## 【One-Line Pitch】 A practical, enterprise-focused handbook for architects, developers, and data scientists who want to move beyond AI hype and build production-grade generative AI applications—covering everything from LLM fundamentals and prompt engineering to RAG, fine-tuning, and ethical deployment. ## 【Book Arc】 - **Opening (~0%–15%)**: Establishes the conceptual foundation—what generative AI is, how LLMs work as next-token predictors (input → tokenization → embedding → encoder/decoder → completion), and why this architecture matters for practical application building. - **Early (~15%–35%)**: Moves into hands-on API usage—generating text through LLM APIs, creating images from pixels, and surveying the broader generative landscape (audio, video, code, and more) to map what's possible. - **Middle (~35%–60%)**: Dives into advanced techniques—prompt engineering best practices, retrieval-augmented generation (RAG) as a "secret weapon," chatting with your own data, and model adaptation through fine-tuning. - **Late (~60%–85%)**: Shifts to production reality—application architecture patterns for GenAI apps, scaling best practices for deployment, and evaluation/benchmarking strategies to measure quality. - **Ending (~85%–100%)**: Covers the ethical dimension—principles, practices, and pitfalls for responsible GenAI—and closes with a call to build AI that's "more brains than brawn." ## 【Key Takeaways】 - **LLMs are next-token predictors at heart** (Opening): Understanding the input→token→embedding→decoder pipeline demystifies why models generate what they do—and why "bring your own data" scenarios require additional retrieval mechanisms beyond the base model. - **API-first development is the entry point** (Early): The book emphasizes working through APIs for text and image generation before attempting any custom infrastructure, making GenAI accessible to teams without deep ML expertise. - **Prompt engineering is a learnable skill** (Middle): A dedicated guide to prompting treats it as systematic practice—not magic—with techniques for getting reliable, structured outputs from LLMs. - **RAG is the "secret weapon" for grounded AI** (Middle): Retrieval-augmented generation solves the hallucination problem by connecting LLMs to your own data sources, enabling chat-with-your-data scenarios that are immediately useful in enterprise settings. - **Fine-tuning tailors models to your domain** (Middle): When prompting and RAG aren't enough, model adaptation and fine-tuning let you customize behavior—but the book positions this as a later-stage technique, not a first resort. - **Production requires architecture thinking** (Late): Application architecture and scaling best practices treat GenAI as a system design problem—covering cost management, latency, and reliability concerns that hobby projects ignore. - **Evaluation is non-negotiable** (Late): Benchmarks and evaluations are presented as essential infrastructure for GenAI apps, not optional QA—you can't improve what you can't measure. - **Ethics is a deployment concern, not an afterthought** (Ending): The final section addresses ethical principles and pitfalls, acknowledging that responsible AI is a practical requirement for enterprise adoption. ## 【Reading Tips】 - **Skim Part 1 if you're already LLM-literate**: Chapters 1–2 cover fundamentals you may know; the API chapters (3–5) are worth scanning for concrete code patterns even if you're experienced. - **Deep-read Chapter 7 (RAG)**: This is the highest-leverage chapter for enterprise practitioners—the "secret weapon" framing is accurate, and the patterns here will transfer directly to your projects. - **Treat Chapters 10–11 as your production checklist**: Architecture and scaling chapters are best read with your own use case in mind; take notes on which patterns apply to your constraints. - **Don't skip the evaluation chapter**: Many practitioners jump from building to deploying without measurement—Chapter 12 will save you from painful production surprises. - **Watch for the ethical pitfalls chapter**: Even if you're not building consumer-facing AI, understanding the principles in Chapter 13 helps you navigate organizational review processes. ## 【Coverage Limits】 The excerpts provide the book's structure and framing but not detailed technical content from individual chapters. Specific code examples, prompt templates, and case studies are not covered in this guide—the book itself contains the hands-on material. ##
Excerpt 1
书名: Generative AI in Action (Amit Bahree) (Z-Library) 作者: Amit Bahree From the back cover: Generative AI in Action presents concrete examples, insights, and ...
View in text
Page 4
g.com ©2024 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in ...
View in text
Excerpt 3
ISBN 9781633436947 Printed in the United States of America To my family, who patiently listened to my tech rambles, although they were no help in writing thi...
View in text
Tags
AI categories
Artificial IntelligenceAIBackend
ISBN: 1633436942
Publish Year: 2024
Language: English
Pages: 446
File Format: PDF
File Size: 29.3 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…