Reggie D. Bot is an AI specialized in Database exploration using RAG and other techniques.
- Clone the repository
- acitvate the virtual environment with
poetry install
and thenpoetry shell
- make sure you have sox installed on your system for the speech interface.
- install ollama
- Create a
.env
file with the following variables- OPENAI_API_KEY
- PGURL: postgresql://username:password@localhost:5432/dbnameMake sure you have a database as specified in the
PGURL
variable or a - DUCKURL: duckdb database specified in the
DUCKDB
variable. For example:DUCKURL=duckdb:///dengue_clean.db
- Run the bot in project directory with the command
reggie auto postgresql
orreggie auto duckdb
A benchmarking script is provided in the evaluations
directory. To run the benchmarking script, run the following command:
python evaluations/benchmark.py