What is LangChain

LangChain is an open source framework that allows AI developers to combine LLMs like GPT-4 with external sources of computation and data.

Why LangChain

LangChain can make LLM answer question depending on your own documents. It can help you doing lots of amazing apps.

You can use LangChain to make GPT to do analysis on your own company data, booking flight depending on schedule. summarizing abstract on bunches of PDFs, .….

LangChain value propositions

Components

  • LLM Wrappers
  • Prompt Templates
  • Indexes for relevant information retrieval

Chains

Assemble components to solve a specific task - finding info in a book…

Agents

Agents allow LLMs to interact with it’s environment. - For instance, make API request with a specific action

LangChain Framework

Reference