Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.
This book shows you step-by-step and example-by-example how to build sites and applications that take advantage of large language models (LLMs) like GPT, Claude, and Llama. Written especially for web developers comfortable with React or Next.js, this book introduces the tools and techniques you need to add sophisticated AI features like Retrieval Augmented Generation (RAG), document summarization, chatbots, and more to your web-based projects.
It guides you through AI development using only JavaScript and other common web dev skills–no Python or Machine Learning experience required. You’ll learn by working with full-scale AI projects that solve actual business problems. You’ll soon be delivering user-friendly, efficient interfaces that make the absolute best use of AI tech.
In Build AI-Enhanced Web Apps you'll learn how to:
• Integrate AI models into React and Next.js applications
• Implement streaming responses and real-time AI interactions
• Manage conversation history and context in chat applications
• Implement LangChain.js for complex AI workflows and reasoning
• Build a web application for summarizing documents using LangChain.js
• Utilize Retrieval-Augmented Generation (RAG) systems for knowledge management
• Develop an AI-powered interview preparation system with voice feedback
About the technology
The users have spoken! Agents, personalized responses, and other LLM-powered features are required in modern web applications. Build AI-Enhanced Web Apps presents the end-to-end architecture of AI web apps, including UI, backend infrastructure, data processing, API integration, deployment, and scaling, with examples and language perfect for professional web developers.
About the book
This accessible book shows you how to ship real AI features—not just toy demos—using a JavaScript stack you already know: React for UI, Next.js for backend integration, and the Vercel AI SDK to connect to LLMs like Gemini and GPT. In it, you’ll acquire the skills you need to complete two portfolio-ready projects: a voice-based interview assistant and a RAG-powered corporate knowledge system. You’ll also learn how to design workflows that balance latency, cost, and UX and implement responsible guardrails for security, quality control, hallucinations, and bias.
What's inside
• Build AI features using a professional stack
• Ship production-ready features
• Learn from concrete projects
About the reader
For web developers familiar with JavaScript and React.
About the author
Theo Despoudis is a Senior Engineer at WP Engine specializing in AI-powered search and headless WordPress. He is an expert in integrating LLMs, RAG, and Vercel AI SDK into React and Next.js apps.
Table of Contents
Part 1
1 Using generative AI in web apps
2 Building your first generative AI web application
3 Connecting AI models with the Vercel AI SDK
4 Managing conversation and state in your application
Part 2
5 Prompt engineering in web applications
6 Building AI workflows with LangChain.js
7 Document summarization and RAG with LangChain.js
8 Testing and debugging techniques
9 Deployment and security
Part 3
10 Building an AI interview assistant: Project walk-through
11 Building an AI RAG agent: Project walk-through
Part 4
12 Integrating web apps with the Model Context Protocol
A Running the examples
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
Theo Despoudis is a Senior Staff Software Engineer at WP Engine, where he is part of the engineering team building the next generation of AI-Powered Search products and services for thousands of customers using WordPress. He is also responsible for supporting Headless WordPress solutions on top of Next.js and React.
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
Da: Blue Vase Books, Interlochen, MI, U.S.A.
Condizione: good. The item shows wear from consistent use, but it remains in good condition and works perfectly. All pages and cover are intact including the dust cover, if applicable . Spine may show signs of wear. Pages may include limited notes and highlighting. May NOT include discs, access code or other supplemental materials. Codice articolo BVV.163343608X.G
Quantità: 1 disponibili
Da: Big River Books, Powder Springs, GA, U.S.A.
Condizione: good. This book is in good condition. The cover has minor creases or bends. The binding is tight and pages are intact. Some pages may have writing or highlighting. Codice articolo BRV.163343608X.G
Quantità: 1 disponibili
Da: Books From California, Simi Valley, CA, U.S.A.
paperback. Condizione: Fine. Codice articolo mon0004124375
Quantità: 1 disponibili
Da: GreatBookPrices, Columbia, MD, U.S.A.
Condizione: New. Codice articolo 51932654-n
Quantità: Più di 20 disponibili
Da: Rarewaves.com USA, London, LONDO, Regno Unito
Hardback. Condizione: New. Your users ask for AI magic, but deadlines and budgets feel brutal. Machine learning tutorials overwhelm, filled with Python, servers, and expensive GPU advice. You already master React and Next.js, now leverage them to deliver intelligence. This book introduces JavaScript friendly tools that integrate AI without hidden complexity. Build chatbots, summarizers, and knowledge systems, all streaming responses in real time. Maintain full control over costs, latency, privacy, and the final user experience. Vercel AI SDK setup: Create fast, streaming conversations that feel natural on every device. LangChain.js pipelines: Chain retrieval, reasoning, and generation with clear, modular JavaScript functions. Context management patterns: Preserve chat history to deliver consistent, helpful, brand-aligned answers. RAG knowledge base: Provide cited responses from company documents, boosting trust and accuracy. Voice interview assistant: Transcribe speech, generate feedback, and improve preparation with immediate insights. Build AI into Your Web Apps by Senior Staff Engineer Theo Despoudis, teaches proven AI integration techniques using only JavaScript, React, and Next.js. Follow three complete projects: a ChatGPT-style bot, a document summarizer, and a RAG corporate assistant. Each chapter combines diagrams, runnable notebooks, and step-by-step code to turn theory into deployable features. Finish able to evaluate AI services, tune latency and spend, and explain design choices to stakeholders. Your next release ships smarter, faster, and under budget. Perfect for React and Next.js developers who want practical AI features without a data-science detour. Codice articolo LU-9781633436084
Quantità: 1 disponibili
Da: Chiron Media, Wallingford, Regno Unito
paperback. Condizione: New. Brand new book, sourced directly from publisher. Dispatch time is 3-4 days from our warehouse. Book will be sent in robust, secure packaging to ensure it reaches you securely. Codice articolo 6666-CBL-9781633436084
Quantità: 1 disponibili
Da: PBShop.store US, Wood Dale, IL, U.S.A.
HRD. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo PB-9781633436084
Quantità: 15 disponibili
Da: GreatBookPrices, Columbia, MD, U.S.A.
Condizione: As New. Unread book in perfect condition. Codice articolo 51932654
Quantità: Più di 20 disponibili
Da: PBShop.store UK, Fairford, GLOS, Regno Unito
HRD. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo PB-9781633436084
Quantità: 15 disponibili
Da: Brook Bookstore On Demand, Napoli, NA, Italia
Condizione: new. Codice articolo 0DNDVKEVJL
Quantità: Più di 20 disponibili