Awesome
<!-- Title -->🚨🚨 This repository is unmaintained 🚨🚨
Note that this repository is unmaintained. We've started working on another approach which gives more granular access to LLM-powered Agents. Please check out out https://github.com/homanp/superagent. We appreciate all the feedback and contributions 🙏🙏🙏
🧬 LangChain UI
The no-code open source chat-ai toolkit built on top of LangChain.
<p> <img alt="GitHub Contributors" src="https://img.shields.io/github/contributors/homanp/langchain-ui" /> <img alt="GitHub Last Commit" src="https://img.shields.io/github/last-commit/homanp/langchain-ui" /> <img alt="" src="https://img.shields.io/github/repo-size/homanp/langchain-ui" /> <img alt="GitHub Issues" src="https://img.shields.io/github/issues/homanp/langchain-ui" /> <img alt="GitHub Pull Requests" src="https://img.shields.io/github/issues-pr/homanp/langchain-ui" /> <img alt="Github License" src="https://img.shields.io/badge/License-MIT-yellow.svg" /> </p>About the project
LangChain UI enables anyone to create and host chatbots using a no-code type of inteface.
Features:
👉 Create custom chatGPT like Chatbot.
👉 Give context to the chatbot using external datasources, chatGPT plugins and prompts.
👉 Dedicated API endpoint for each Chatbot.
👉 Bring your own DB
👉 Bring your own Auth provider (defaults to Github)
👉 Usage quoutas
👉 Embed Chatbots to any site or application
👉 Chatbot themes
... and more
Roadmap
- Bring your own db
- Bring your own Auth provider
- Chatbots
- Prompt templates
- API endpoints to chatbot
- External datasources
- chatGPT plugins
- Chatbots themes
- Chatbot embedding
Stack
LangChain UI utilizes NextJS 13 appDir
. Read more about it here
Getting started
Langchain UI API
We have migrated all agent functionality from LangChain Typescript to LangChain Python. Thus you will need to run the Langchain UI API in order to interact with the chatbot. In the future when the TS package is on par with the Python package we will migrate to only using Javascript.
Installation
-
Setup the Langchain UI API
-
Clone the repo into a public GitHub repository (or fork https://github.com/homanp/langchain-ui/fork). If you plan to distribute the code, keep the source code public.
git clone https://github.com/homanp/langchain-ui.git
-
Go to the project folder
cd langchain-ui
-
Install packages with npm
npm install
-
Set up your .env file
- Duplicate
.env.example
to.env
- Duplicate
-
Run the project
npm run dev
-
Run the linter
npm run lint
-
Build the project
npm run build
Contributions
Our mission is to make it easy for anyone to create and run LLM apps in the cloud. We are super happy for any contributions you would like to make. Create new features, fix bugs or improve on infra.
You can read more on how to contribute here.