Building AI Applications on the Web (MEAP V04) by Theo Despoudis
English | 2025 | ISBN: 9781633436084 | 406 pages | PDF,EPUB | 27.94 MB
Effectively integrate AI using Large Language Models (LLMs) into your web apps and sites.
Building AI Applications on the Web 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.
In Building AI Applications on the Web 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
Building AI Applications on the Web 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.
about the book
Fully illustrated with stunning visuals and diagrams, Building AI Applications on the Web makes it easy to integrate AI features into your applications. The book introduces you to the instantly-intuitive Vercel AI SDK and LangChain.js—cutting-edge tools for building AI into web applications. You’ll create multiple working AI apps, including an interactive ChatGPT-style chatbot with streaming functionality, an AI interview assistant that can transcribe voices, and a corporate knowledge management system that utilizes RAG. Plus, you’ll maintain full control over costs, performance, and user experience for your AI apps.