Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

🚀 Lotus – Quick Start Guide

This guide explains how to set up the project and run a test execution.


📂 Setup & Run

From the root of the repository (UDA-Bench):

1. Navigate to the project directory

cd systems/lotus

2. Create and activate the Conda environment

conda create -n lotus_env python=3.10.16
conda activate lotus_env

3. Install dependencies

pip install -r requirements.txt

4. Configure the .env file

Use the .env.example file to create your personal .env file in the root of lotus


6. Run a query

python main.py \
  --sql "<your_sql_query>" \
  [--limit <num_rows>] \
  [--cascade]

Parameters

  • --sql SQL query (o lista di query) da eseguire.

  • --limit (optional) Limita il numero di righe del dataset da processare. Default: -1 (nessun limite).

  • --cascade (optional) Abilita la strategia di LM cascade.


7. Output

Results are available in the folder results


🤖 Models Used

Large Language Models (LLMs)

  • Primary LLM: gemini/gemini-2.5-flash (Google Gemini 2.5 Flash)
  • Cascade Mode: Uses MODEL_MINI (gemini/gemini-2.5-flash) and MODEL_PRO (gemini/gemini-3-flash-preview) for the cascade strategy