Skip to content

Llama2 + Supabase powered tool to ingest and chat with github documents

License

Notifications You must be signed in to change notification settings

neel1996/lagoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fbe7f98 · Oct 10, 2023

History

16 Commits
Oct 10, 2023
Oct 7, 2023
Oct 10, 2023
Oct 9, 2023
Oct 7, 2023
Oct 8, 2023
Oct 8, 2023
Sep 24, 2023
Oct 10, 2023
Oct 10, 2023
Oct 7, 2023
Oct 8, 2023
Oct 10, 2023
Oct 7, 2023
Oct 8, 2023

Repository files navigation

Lagoon

A simple search tool for github documents powered by supabase and llama2

Getting Started

React App

  • Create a supabase account and setup a new project
  • Use the supabase.sql file to create the database schema
  • Create a .env file in the root of the project and add the following variables:
VITE_SUPABASE_URL=<supabase url>
VITE_SUPABASE_KEY=<supabase key>
  • Run yarn to install dependencies
  • Run yarn dev to start the dev server

Python inference api

  • cd inference-server
  • Create a virtual environment python3 -m venv venv
  • Activate the virtual environment source venv/bin/activate
  • Install dependencies pip install -r requirements.txt
  • Run the server python inference.py

The first startup will take a few minutes to download the model and load it into memory

Demo

demo

About

Llama2 + Supabase powered tool to ingest and chat with github documents

Topics

Resources

License

Stars

Watchers

Forks