9 Building LangChain Applications Visually using LangFlow
This chapter covers:
- What is LangFlow
- Creating a New LangFlow Project
- Asking Question on Your Own Data
- Using Your Project Programmatically
In the previous chapter on LangChain, you learned how to build LLM-based applications by chaining various components such as Prompt Template, LLMs, Memory, and more. You also learned how to use LlamaIndex to connect an LLM to answer questions pertaining to your own data. To use LangChain, you must download the langchain package and then use the various APIs in the framework. In this chapter, you will learn an easier approach to building LLM-based applications using LangChain – instead of writing code, you will build LangChain apps using a drag-and-drop tool known as LangFlow. Using LangFlow, you can now get started with LangChain without getting bogged down with the details of coding and can instantly preview your applications without any complicated setup process.
9.1 What is LangFlow
LangFlow is an open-source library that allows you to build LLM-based applications using LangChain through a drop-and-drop visual interface. LangFlow is built on top of LangChain so that you can develop AI applications faster and easier through a No Code Low Code experience.
The source code for LangFlow can be downloaded from https://github.com/logspace-ai/langflow. For this chapter, we will focus on how to install LangFlow on your computer so that you can get productive immediately.