Back to Search

Generative AI with LangChain: Build large language model (LLM) apps with Python, ChatGPT and other LLMs

AUTHOR Auffarth, Ben
PUBLISHER Packt Publishing (12/22/2023)
PRODUCT TYPE Paperback (Paperback)

Description

Get to grips with the LangChain framework from theory to deployment and develop production-ready applications.

Code examples regularly updated on GitHub to keep you abreast of the latest LangChain developments.

Purchase of the print or Kindle book includes a free PDF eBook.

Key Features
  • Learn how to leverage LLMs' capabilities and work around their inherent weaknesses
  • Delve into the realm of LLMs with LangChain and go on an in-depth exploration of their fundamentals, ethical dimensions, and application challenges
  • Get better at using ChatGPT and GPT models, from heuristics and training to scalable deployment, empowering you to transform ideas into reality
Book Description

ChatGPT and the GPT models by OpenAI have brought about a revolution not only in how we write and research but also in how we can process information. This book discusses the functioning, capabilities, and limitations of LLMs underlying chat systems, including ChatGPT and Bard. It also demonstrates, in a series of practical examples, how to use the LangChain framework to build production-ready and responsive LLM applications for tasks ranging from customer support to software development assistance and data analysis - illustrating the expansive utility of LLMs in real-world applications.

Unlock the full potential of LLMs within your projects as you navigate through guidance on fine-tuning, prompt engineering, and best practices for deployment and monitoring in production environments. Whether you're building creative writing tools, developing sophisticated chatbots, or crafting cutting-edge software development aids, this book will be your roadmap to mastering the transformative power of generative AI with confidence and creativity.

What you will learn
  • Understand LLMs, their strengths and limitations
  • Grasp generative AI fundamentals and industry trends
  • Create LLM apps with LangChain like question-answering systems and chatbots
  • Understand transformer models and attention mechanisms
  • Automate data analysis and visualization using pandas and Python
  • Grasp prompt engineering to improve performance
  • Fine-tune LLMs and get to know the tools to unleash their power
  • Deploy LLMs as a service with LangChain and apply evaluation strategies
  • Privately interact with documents using open-source LLMs to prevent data leaks
Who this book is for

The book is for developers, researchers, and anyone interested in learning more about LLMs. Whether you are a beginner or an experienced developer, this book will serve as a valuable resource if you want to get the most out of LLMs and are looking to stay ahead of the curve in the LLMs and LangChain arena.

Basic knowledge of Python is a prerequisite, while some prior exposure to machine learning will help you follow along more easily.

Table of Contents
  1. What Is Generative AI?
  2. LangChain for LLM Apps
  3. Getting Started with LangChain
  4. Building Capable Assistants
  5. Building a Chatbot like ChatGPT
  6. Developing Software with Generative AI
  7. LLMs for Data Science
  8. Customizing LLMs and Their Output
  9. Generative AI in Production
  10. The Future of Generative Models
Show More
Product Format
Product Details
ISBN-13: 9781835083468
ISBN-10: 1835083463
Binding: Paperback or Softback (Trade Paperback (Us))
Content Language: English
More Product Details
Page Count: 360
Carton Quantity: 11
Product Dimensions: 7.50 x 0.75 x 9.25 inches
Weight: 1.36 pound(s)
Country of Origin: US
Subject Information
BISAC Categories
Computers | Data Science - Neural Networks
Computers | Business & Productivity Software - Word Processing
Computers | Artificial Intelligence - Natural Language Processing
Descriptions, Reviews, Etc.
publisher marketing

Get to grips with the LangChain framework from theory to deployment and develop production-ready applications.

Code examples regularly updated on GitHub to keep you abreast of the latest LangChain developments.

Purchase of the print or Kindle book includes a free PDF eBook.

Key Features
  • Learn how to leverage LLMs' capabilities and work around their inherent weaknesses
  • Delve into the realm of LLMs with LangChain and go on an in-depth exploration of their fundamentals, ethical dimensions, and application challenges
  • Get better at using ChatGPT and GPT models, from heuristics and training to scalable deployment, empowering you to transform ideas into reality
Book Description

ChatGPT and the GPT models by OpenAI have brought about a revolution not only in how we write and research but also in how we can process information. This book discusses the functioning, capabilities, and limitations of LLMs underlying chat systems, including ChatGPT and Bard. It also demonstrates, in a series of practical examples, how to use the LangChain framework to build production-ready and responsive LLM applications for tasks ranging from customer support to software development assistance and data analysis - illustrating the expansive utility of LLMs in real-world applications.

Unlock the full potential of LLMs within your projects as you navigate through guidance on fine-tuning, prompt engineering, and best practices for deployment and monitoring in production environments. Whether you're building creative writing tools, developing sophisticated chatbots, or crafting cutting-edge software development aids, this book will be your roadmap to mastering the transformative power of generative AI with confidence and creativity.

What you will learn
  • Understand LLMs, their strengths and limitations
  • Grasp generative AI fundamentals and industry trends
  • Create LLM apps with LangChain like question-answering systems and chatbots
  • Understand transformer models and attention mechanisms
  • Automate data analysis and visualization using pandas and Python
  • Grasp prompt engineering to improve performance
  • Fine-tune LLMs and get to know the tools to unleash their power
  • Deploy LLMs as a service with LangChain and apply evaluation strategies
  • Privately interact with documents using open-source LLMs to prevent data leaks
Who this book is for

The book is for developers, researchers, and anyone interested in learning more about LLMs. Whether you are a beginner or an experienced developer, this book will serve as a valuable resource if you want to get the most out of LLMs and are looking to stay ahead of the curve in the LLMs and LangChain arena.

Basic knowledge of Python is a prerequisite, while some prior exposure to machine learning will help you follow along more easily.

Table of Contents
  1. What Is Generative AI?
  2. LangChain for LLM Apps
  3. Getting Started with LangChain
  4. Building Capable Assistants
  5. Building a Chatbot like ChatGPT
  6. Developing Software with Generative AI
  7. LLMs for Data Science
  8. Customizing LLMs and Their Output
  9. Generative AI in Production
  10. The Future of Generative Models
Show More
Your Price  $59.36
Paperback