This directory contains the source code of our demo submission "Opening the Black Box: Explaining Zero-Shot Cost Models for Databases" . This project consists of backend and web based frontend.
- Clone repository and update submodules with
git submodule update --init - Copy zero-shot-data into the root of the backend directory, so that it results in
/backend/zero-shot-data - (Optional) Copy zs_queries.backup into ./backend/src, so that it results in
/backend/src/zs_queries.backup - Make sure to have docker installed
- Run
docker-compose up --build -d - If you skipped step 2, wait for database initialization (this can take some time)
- Web frontend can be found at http://localhost:5241/ and backend docs can be found at http://localhost:5240/docs
For development setup see development setup instructions in README files of the backed and frontend projects.