Lumos: Enhancing Data Visualizations with LLM-based Natural Language Interfaces
You will need Docker (Docker Engine & Docker Compose) and an OpenAI API key.
- Create a .env file containing the OpenAI API key stored in the variable
OPENAI_API_KEY - Open terminal or powershell
- Build container
- Windows:
docker-compose build - Linux:
docker compose build
- Windows:
- Run system
- Windows:
docker-compose up - Linux:
docker compose up
- Windows:
- Initialize Backend
- cd into scripts folder and run
npm install npm run datasetsto import datasetsnpm run usecaseto import use case llm
- cd into scripts folder and run
- Open Frontend
If you want to run tests on your own:
- cd into scripts folder
npm run teststo import testsnpm run runteststo run ALL tests. This may require a high balance on your OpenAI account. Alternatively you can execute single tests in the UI Tests sectionnpm run extractto extract all tests / test results to a json file