https://github.com/gbaeke/openai_assistant
Home automation with the OpenAI Assistants API
https://github.com/gbaeke/openai_assistant
Last synced: 2 months ago
JSON representation
Home automation with the OpenAI Assistants API
- Host: GitHub
- URL: https://github.com/gbaeke/openai_assistant
- Owner: gbaeke
- License: mit
- Created: 2023-11-20T16:21:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-24T13:56:57.000Z (over 1 year ago)
- Last Synced: 2024-12-27T20:38:41.641Z (4 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openai_assistant
Home automation with the OpenAI Assistants APICheck the video: https://youtu.be/VglcqneAbvE
**Note:** you will need Hue lights to use this app as is
Ensure you add a `.env` file with the following:
```bash
OPENAI_API_KEY=YOUR_OPENAI_API_KEY
```Ensure you install `portaudio`. E.g., on MacOS with brew:
```bash
brew install portaudio
```Install Python packages with `pip install -r requirements.txt`
In `hue.py`, replace the IP with with IP of your bridge. Check https://github.com/studioimaginaire/phue for help with connecting to the bridge.
Now run the app with `python3 hue.py`