PIPE: An AI Chatbot assistant like ChatGPT with any LLM i.e. GPT, Gemini, Mistral, Llama, Cohere, Claude, etc.
Meta
ON
Tools
Add
No tools added to the Pipe.
Readme
Build an AI Chatbot with Pipes — ⌘ Langbase
An AI Chatbot example to help you create chatbots for any use case. This chatbot is built by using an AI Pipe on Langbase, it works with 30+ LLMs (OpenAI, Gemini, Mistral, Llama, Gemma, etc), any Data (10M+ context with Memory sets), and any Framework (standard web API you can use with any software).
Go to Langbase API keys page and generate an API key (to be used on server-side only).
Download the example project folder from here or clone the reppository.
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:
sh
DownloadCopy code
1# Replace `USER/ORG-API-KEY` with the generated API key.
2LANGBASE_API_KEY="USER/ORG-API-KEY"
34# Install the dependencies using the following command:
5npm install
67# Run the project using the following command:
8npm 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.
Authors
This project is created by Langbase team members, with contributions from: