Public
About
RAG pipe example. Ask any query from docs. Add your docs as memory for it to work.
Meta
Tools
No tools added to the Pipe.
Readme
Ask My Docs
Ask My Docs RAG Chatbot Example — ⌘ Langbase
Ask or generate anything from your Documentation, taking advantage of Langbase Memory and Pipes. Follow this guide to upload your documentation files into Memory and create a RAG Chatbot on it.
Check out the source code of the example chatbot app here.
Check out the live demo here, which is a RAG Chatbot on Langbase's documentation.
Features
- 💬 RAG Chatbot app — Built with an AI Pipe on ⌘ Langbase
- ⚡️ Streaming — Real-time chat experience with streamed responses
- 🗣️ Q/A — Ask questions and get pre-defined answers with your preferred AI model and tone
- 🔋 Responsive and open source — Works on all devices and platforms
Running the project
Follow this guide to upload and set up a RAG on your documentation using Langbase Memory and Pipes.
Once you have followed the guide, and setup your Memory and Pipe you can run this app locally:
-
cd
into the project directory and open it in your code editor. -
Duplicate the
.env.example
file in this project and rename it to.env.local
. -
Add the following environment variables:
shDownload Copy code 1# Replace `PIPE_API_KEY` with the copied API key. 2LANGBASE_PIPE_API_KEY="YOUR_PIPE_API_KEY"
-
Install the dependencies using the following command:
shDownload Copy code 1npm install
- Run the project using the following command:
shDownload Copy code 1npm run dev
Your app template should now be running on localhost:3000.
NOTE: This is a Next.js project, so you can build and deploy it to any platform of your choice, like Vercel, Netlify, Cloudflare, etc.
Learn more
- Check the AI Chatbot Pipe on ⌘ Langbase
- Read the source code on GitHub for this example
- Go through Documentaion: Pipe Quick Start
- Learn more about Pipes & Memory features on ⌘ Langbase
Authors
This project is created by Langbase team members, with contributions from:
- Ahmad Bilal (@AhmadBilalDev) - Founding Engineer, Langbase
Built by ⌘ Langbase.com — Ship hyper-personalized AI assistants with memory!