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
For a video walkthrough, click this YouTube link to watch.
- Intall 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