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 πππ
The no-code open source chat-ai toolkit built on top of LangChain.
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
- Bring your own db
- Bring your own Auth provider
- Chatbots
- Prompt templates
- API endpoints to chatbot
- External datasources
- chatGPT plugins
- Chatbots themes
- Chatbot embedding
LangChain UI utilizes NextJS 13 appDir
. Read more about it here
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.
-
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
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.