This is an LLM Chatbot powered by RAG. The tech stack includes Javascript, Langchain, OpenAI and Supabase vector store.
LLM - Large Language Model
RAG - Retrieval Augumented Generation
Please, Click to check it out Project link
For a video walkthrough, click this YouTube link to watch.
- Install dependencies
yarn
-
Initialize your Supabase database by following the instructions in the docs
-
Get OpenAI API key
-
Split document and save to Supabase Vector database (Run once or only when you need to store a document)
node utils/splitDocument.js
Vite JS Docs
Langchain JS Docs
Langchain JS Chat Bot Docs
Langchain JS Text Splitter Docs