This is just a flask api that passes the info to ollama
Required packages are
Flask
Flask-CORS
requests
Simply use
pip -r requirements.txt
then run it with
python api.py
the api url will either be
http://127.0.0.1:5000
or your local pc on the port 5000