A NLP-based communication module for fetch bot :D.
git clone https://github.com/erikziyunchi/Hi-Fetch.git
cd Hi-Fetch
python -m venv venv
source /venv/bin/activate
If you are a Mac user:
-
brew install portaudio
-
pip install --global-option='build_ext' --global-option="-I$(brew --prefix)/include" --global-option="-L$(brew --prefix)/lib" pyaudio
Otherwise:
pip install -r requirements.txt
- AudioManager.py: line 23: pvporcupine.create(access_key=“YOUR_ACCESS_KEY”, keywords=["hi fetch"]) <- obtain from https://console.picovoice.ai/
- Put your GPT-3 OpenAI access Key into “OpenAIKey.txt”
- Search for "Hey-Fetch_en" globally
- Platform:
- MacOS: Can just leave alone
- Linux: Change every "Hey-Fetch_en_mac_v2_1_0.ppn" -> "Hey-Fetch_en_linux_v2_1_0.ppn"
python run.py