/reg

Reg D. Bot an AI specialized in Database exploration using RAG and other techniques.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Reggie D. Bot

release lint

Reggie D. Bot is an AI specialized in Database exploration using RAG and other techniques.

Reggie D. Bot

Setup

  1. Clone the repository
  2. acitvate the virtual environment with poetry install and then poetry shell
  3. make sure you have sox installed on your system for the speech interface.
  4. install ollama
  5. Create a .env file with the following variables
    1. OPENAI_API_KEY
    2. PGURL: postgresql://username:password@localhost:5432/dbnameMake sure you have a database as specified in the PGURL variable or a
    3. DUCKURL: duckdb database specified in the DUCKDB variable. For example: DUCKURL=duckdb:///dengue_clean.db
  6. Run the bot in project directory with the command reggie auto postgresql or reggie auto duckdb

Benchmarking

A benchmarking script is provided in the evaluations directory. To run the benchmarking script, run the following command:

python evaluations/benchmark.py