© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
A. KansalBuilding Generative AI-Powered Appshttps://doi.org/10.1007/979-8-8688-0205-8_2

2. LangChain: Your Swiss Army Knife

Aarushi Kansal1  
(1)
Melbourne, Australia
 

In Chapter 1, you were introduced to the various types of generative models available, the most popular architectures, and how they work. Now, this chapter introduces you to LangChain, your Swiss Army knife to building robust applications on top of LLMs and other models. As you build applications beyond just making API calls, you’re going to need various components to connect a model to your own data, to external data, and services, and that’s what LangChain helps you with. A standard, modular ...

Get Building Generative AI-Powered Apps: A Hands-on Guide for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.