This repository is for the implementation of a RAG based chatbot for Kenya Law. It is the second version built on Next.js
# Law Guru Chatbot 👨🏽⚖️
This is an app for a Law Chatbot. It is built upon RAG principles and uses the Llama 3 language model.
## Usage
Install dependencies:
```console
npm install
```
Add your Replicate API token to as well as your Supabase Authenication to `.env.local`:
```
REPLICATE_API_TOKEN=r8...
NEXT_PUBLIC_SUPABASE_URL=https...
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJh...
```
Run the development server:
```console
npm run dev
```
Open
localhost with your browser.