GithubHelp home page GithubHelp logo

zhouyang-bigdata / langflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from logspace-ai/langflow

0.0 0.0 0.0 27.24 MB

⛓️ LangFlow is a UI for LangChain, designed with react-flow to provide an effortless way to experiment and prototype flows.

Home Page: http://www.logspace.ai

License: MIT License

Shell 0.40% JavaScript 0.28% Python 60.47% TypeScript 36.72% CSS 0.28% Makefile 0.44% HTML 0.13% Dockerfile 1.29%

langflow's Introduction

⛓️ LangFlow

~ A User Interface For LangChain ~

GitHub Contributors GitHub Last Commit GitHub Issues GitHub Pull Requests Github License

LangFlow is a GUI for LangChain, designed with react-flow to provide an effortless way to experiment and prototype flows with drag-and-drop components and a chat box.

📦 Installation

You can install LangFlow from pip:

pip install langflow

Next, run:

langflow

🎨 Creating Flows

Creating flows with LangFlow is easy. Simply drag sidebar components onto the canvas and connect them together to create your pipeline. LangFlow provides a range of LangChain components to choose from, including LLMs, prompt serializers, agents, and chains.

Explore by editing prompt parameters, link chains and agents, track an agent's thought process, and export your flow.

Once you're done, you can export your flow as a JSON file to use with LangChain. To do so, click the "Export" button in the top right corner of the canvas, then in Python, you can load the flow with:

from langflow import load_flow_from_json

flow = load_flow_from_json("path/to/flow.json")
# Now you can use it like any chain
flow("Hey, have you heard of LangFlow?")

👋 Contributing

We welcome contributions from developers of all levels to our open-source project on GitHub. If you'd like to contribute, please check our contributing guidelines and help make LangFlow more accessible.

Star History Chart

📄 License

LangFlow is released under the MIT License. See the LICENSE file for details.

langflow's People

Contributors

anovazzi1 avatar carlosrcoelho avatar cayal avatar ibiscp avatar jacobhrussell avatar jordi-adame avatar lucaseduoli avatar ogabrielluiz avatar rodrigosnader avatar scriptersugar avatar yoazmenda avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.