Skip to content

xen-devs/xenRAG

Repository files navigation

xenRAG

Setup

git clone https://github.com/xen-devs/xenRAG.git
cd xenRAG

# Install dependencies
uv sync
npm install

Configure Environment

cp apps/backend/.env.example apps/backend/.env

Start Services

docker compose up -d

Database Migrations

Apply existing migrations (run this after setup or pulling new changes):

cd apps/backend
uv run alembic -c api/db/alembic.ini upgrade head

Create a new migration when you change models during development:

cd apps/backend
uv run alembic -c api/db/alembic.ini revision --autogenerate -m "describe changes"

Ingest Data

npm run ingest -- data/Electronics_B075X8471B_B00ZV9RDKK_reviews.jsonl

Limited ingestion

npm run ingest -- data/Electronics_B075X8471B_B00ZV9RDKK_reviews.jsonl --limit 500

Run

npm run ai:cli

Run with Turborepo

npm run dev
npm run build
npm run lint
npm run typecheck
npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages