Quest allows asking SQL databases questions in natural language. It is composed of API/model, front-end, and proxy containers.
- Clone the repository
- Copy
api/config.yml.sample
toconfig.yml
- Change
engine_url
andschema
values as required - Run
docker compose up
Note: it might take several minutes to download and initialize the models on the first run.
engine_url
has the SQLAlchemy format, check here for more details.
schema
is the CREATE TABLE
statements that represent the underlying database.
Natural SQL 7B model is used for SQL generation.