Gen-AI App for proposing recipes based on ingredients
You need to have the following installed
- Python 3.11+ (should work with previous versions)
- poetry
- Run 'poetry install' in the root folder
- You should have postgres running using docker-compose: docker-compose up -d
Using command-line:
- Run 'poetry shell' in the root folder.
- Navigate to the folder 'src/ticker_extractor'
- customize the .env file indicating your local IP
- Load tickers in the database with command
python3 tickers.py - Run 'fastapi dev main.py' or 'fastapi run main.py' for starting the web server
It's possible to call the api endpoint using localhost:8000 as base url:
You can use any image number from 1 to 10. The system will autocomplete the image path:
- See
docs/architecture_diagram.png
- Sanitize input.
- Add authentication (optional).
- Use a queue to avoid API limits overriding.
- WSL2 (requires using local network IP)
- Ubuntu 24.02