Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 986 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 986 Bytes

Hi-Fetch

A NLP-based communication module for fetch bot :D.

Setup:

Installations:

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:

  1. brew install portaudio

  2. 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

Access keys: (Has filled in in this repo)

  1. AudioManager.py: line 23: pvporcupine.create(access_key=“YOUR_ACCESS_KEY”, keywords=["hi fetch"]) <- obtain from https://console.picovoice.ai/
  2. Put your GPT-3 OpenAI access Key into “OpenAIKey.txt”

Make Wake Word "Hi Fetch" work on your end

  1. Search for "Hey-Fetch_en" globally
  2. Platform:
    1. MacOS: Can just leave alone
    2. Linux: Change every "Hey-Fetch_en_mac_v2_1_0.ppn" -> "Hey-Fetch_en_linux_v2_1_0.ppn"

python run.py