AirAI is a project that aims to provide a chat interface for air quality dashboard.
This project contains two components
- API
./airai-api
- Web
./airai-web
The dockerfile is for deployment/preview only. For development, please refer to the README.md in each component. Running the API and Web locally is preferred for development.
Refer to ./airai-api/README.md
Refer to ./airai-web/README.md
Preparing Environment:
Copy
.api.env.example
to.api.env
and fill in the values.Copy
.web.env.example
to.web.env
and fill in the values.
To run the API and the Web interface, run the following command:
docker-compose up
You should be able to access the web interface at http://localhost:4173
Open airai-api
folder and run the following command:
./venv/bin/pip install -r requirements.txt
./venv/bin/python -m uvicorn main:app
Open airai-web
folder and run the following command:
npm install
npm run dev
AGPL-3.0