GinAI - Cocktails mixed with generative AI. Trusting my robotic bartender can make a nice drink from my random collection of juices, mixers and spirits. Real cocktails created and music chosen by OpenAI supported by a RaspberryPi.
A full writeup blog is here 🍹GinAI - Cocktails mixed with generative AI
A quick video
Create a virtual python environment to keep dependencies separate. The venv module is the preferred way to create and manage virtual environments.
python3 -m venv .venv
Before you can start installing or using packages in your virtual environment you’ll need to activate it.
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
To run GinAI
python ginai.py --creative
-
A clear guide to OpenAI function calling with Python by Naren Yellavula
-
OpenAI/GPT: Returning consistent valid JSON from a prompt by Mark Needham
To resolve NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module
try this
pip uninstall urllib3
pip install 'urllib3<2.0'
AttributeError: 'GoogleAssistant' object has no attribute 'cc'
pip install PyChromecast==1.0.3
pip install protobuf==3.20.1
- Set
dtparam=audio=off
in/boot/config.txt
- Will need to run as root