Test RAG (Retrieval Augmented Generation)
STEPS:
- Make sure Docker is installed. Check online how todo that. Navigate to each subproject directory e.g. ../ingestion-service/
- If it's the first time, first run the powesrshell script
./setup.ps1to setup the .venv. - Run
pip install -r requirements.txtto install dependencies. - Run
./run.ps1to start the application. This will start docker and run redis, Qrant db, n8n workflow manager, ingestion-service and the Streamlit UI for querying. - Go to http://localhost:8501 to access the Streamlit UI
*To ingest the files run python.exe ./bulk_ingest_local.py after setting the relevant .env entries.
Crawls the Kenya Law Review and downloads documents to be embedded:
STEPS:
- Make sure Docker is installed. Check online how todo that. Navigate to the subproject directory e.g. ../law_crawler/
- If it's the first time, first run the powesrshell script
./setup.ps1to setup the .venv. - Run
pip install -r requirements.txtto install dependencies. - Run
./run.ps1to start the crawler application.