Generative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex AI on Google Cloud
- Length: 306 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2024-12-20
- ISBN-10: B0DKT8DCRT
- ISBN-13: 9781835889329
Turn challenges into opportunities by mastering advanced techniques for text generation, summarization, and question answering using LangChain and Google Cloud tools
Purchase of the print or Kindle book includes a free eBook in PDF format
“This book is tailored for a diverse audience, from generative AI enthusiasts to seasoned engineers exploring the intricacies of this technology. The insights provided on common architectures, grounding responses, and advanced techniques will equip you with the knowledge to tackle the complexities of generative AI applications.”- Harrison Chase, CEO, LangChain
Book Description
Written by three distinguished Google AI engineers and LangChain contributors who have shaped Google Cloud’s integration with LangChain and implemented AI solutions for Fortune 500 companies, this book bridges the gap between concept and implementation, exploring LangChain and Google Cloud’s enterprise-ready tools for scalable AI solutions.
You’ll start by exploring the fundamentals of large language models (LLMs) and how LangChain simplifies the development of AI workflows by connecting LLMs with external data and services. The book guides you through using essential tools like the Gemini and PaLM 2 APIs, Vertex AI, and Vertex AI Search to create sophisticated, production-ready GenAI applications. You’ll also overcome the context limitations of LLMs by mastering advanced techniques like Retrieval-Augmented Generation (RAG) and external memory layers.
Through practical patterns and real-world examples, you’ll gain everything you need to harness Google Cloud’s AI ecosystem, reducing the time to market while ensuring enterprise scalability.
What you will learn
- Build enterprise-ready applications with LangChain and Google Cloud
- Navigate and select the right Google Cloud generative AI tools
- Apply modern design patterns for generative AI applications
- Plan and execute proof-of-concepts for enterprise AI solutions
- Gain hands-on experience with LangChain’s and Google Cloud’s AI products
- Leverage Vertex AI Search and other tools for scalable AI solutions
Who this book is for
If you’re an application developer or ML engineer eager to dive into GenAI, this book is for you. Whether you’re new to LangChain or Google Cloud, you’ll learn how to use these tools to build scalable AI solutions. This book is ideal for developers familiar with Python and machine learning basics looking to apply their skills in GenAI. Professionals who want to explore Google Cloud’s powerful suite of enterprise-grade GenAI products and their implementation will also find this book useful.
Table of Contents
- Using LangChain with Google Cloud
- Foundational Models on Google Cloud
- Grounding Responses on Google Cloud
- Vector Search on Google Cloud
- Advanced Techniques for Parsing and Ingesting Documents
- Multimodality
- Working with Long Context
- Building Chatbots
- Tools and Function Calling
- Agents in Generative AI
- Agentic Workflows
- Evaluating GenAI Applications
- GenAI System Design
- Appendix 1 – Overview of Generative AI
- Appendix 2 – Google Cloud Foundations