Skip to content

alexcjwei/rule-master

Repository files navigation

RuleMaster

RuleMaster is a retrieval-augmented generation (RAG) system for answering board game questions (a rule-answering-guru, if you will).

To build RuleMaster, I learned how to create a full-stack storage, query, and retrieval system. Notably, I learned how to combine Prisma, Postgres, and pg_vector to store and query vector embeddings. I also learned how to use AWS S3 to store the rulebook PDFs.

Should be live here: https://rule-master-20920cb331ec.herokuapp.com/

Tools

Installation

Install Postgres and create a database called rule-master.

Install the required packages by running:

npm install

Run migrations with the following command:

npx prisma migrate dev

Message me for .env file.

Usage

To start the server, run:

npm run dev

Releases

No releases published

Packages

No packages published