Skip to content

Javascript RAG Chatbot with Langchain, OpenAI and Supabase vector store.

Notifications You must be signed in to change notification settings

Uniqcoda/chat-assist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG Chatbot

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.

image info

  1. Intall dependencies
yarn
  1. Initialize your Supabase database by following the instructions in the docs

  2. Get OpenAI API key

  3. Split document and save to Supabase Vector database (Run once or only when you need to store a document)

node utils/splitDocument.js

More Docs and Links

Vite JS Docs
Langchain JS Docs
Langchain JS Chat Bot Docs
Langchain JS Text Splitter Docs

About

Javascript RAG Chatbot with Langchain, OpenAI and Supabase vector store.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published