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.