The open-source alternative to OpenAI's GPT Store built w/ Next.js and LangChain.js
It's a fast and simple way to share and create chatbots with external knowledge such as a website or a document. This can be helpful for things like creating bots for knowing specific things, such as a research paper, a book, etc.
- To find chatbots just start typing on the search bar on the homepage and find what you need
- To create a chatbot, head to the create page. Put in a name and give it some knowledge (website or PDF as of right now)
🦜 LangChain.js for the AI backend such as the embeddings and chat
Next.js as the full-stack framework
Prisma to interact with the database in an easier way
shadcn-ui + TailwindCSS as the UI framework and CSS
Embeddings: It uses sentence-transformers/all-MiniLM-L6-v2 to create embeddings for the knowledge provided.
LLM: It currently uses mistralai/Mixtral-8x7B-Instruct-v0.1
, but you can use whatever LangChain currently supports
- Clone the repo
git clone https://github.com/AyaanZaveri/cognite && cd cognite
- Install bun (if not installed already)
npm install -g bun
- Run
bun i
to install packages - Edit the
env
variables, if you want to use different models, check out LangChain's supported list - Run
bun dev
to run the code - Start tinkering 🚀!
Licensed under the AGPL v3 license.