Emasontweni ambalwa edlule i-Amazon ikhiphe umsizi wayo obonakalayo u-Alexa futhi lokho sekuholele kumaphrojekthi amaningi namadivayisi anomsizi ongokoqobo kusoftware yawo. Enye yamadivayisi okuqala ukuthola le wizadi kwakuyi-Raspberry Pi.
Futhi okumangazayo ukuthi yibhodi le-sbc elinabasizi abaningi noma kunalokho ukuthi liyahambisana nedivayisi enjalo. Omunye wabasizi bokugcina ukuhlangana ubizwa ngoJasper, umsizi ohambelana ngokuphelele noRaspbian.
UJasper angamiselela igundane nekhibhodi ngesiRaspbian
UJasper unokusebenza okufana ne-Alexa yize ene i-TTS ne-STT ehlukile eyenza ibone amagama ethu ngokuhlukile. Kumahhala futhi kusebenza ngokungaxhunyiwe kwi-inthanethi, into engenzeki kwamanye amaphrojekthi ane-Alexa. I-Jasper ikuvumela ukuthi ulawule izenzo ezincane ze-Raspbian kepha futhi wenze futhi ufake idatha kuzinhlelo zokusebenza njenge-Google Khalenda noma i-Abiword. Sizodinga kuphela ukuxhuma imakrofoni ku-Raspberry Pi ukuze uJasper akwazi ukusebenza ngokugcwele.
Ukufaka iJasper kwiRaspbian yethu, kufanele silande isoftware:
cd ~/
wget https://raw.githubusercontent.com/Howchoo/raspi-helpers/master/scripts/jasper-installer.sh
Futhi uma kulandiwe, sebenzisa ifayili le-sh ukufaka uhlelo:
sudo chmod +x jasper-installer.sh
sudo ./jasper-installer.sh
Lokhu kuzoqala iwizadi ezosiqondisa igxathu negxathu ekucushweni kweJasper ngesiRaspbian. Uma sesimisiwe futhi safakwa, kufanele sisebenzise i-wizard ngale ndlela:
python /usr/local/lib/jasper/jasper.py
Futhi uma sifuna ukungeza njengo uhlelo lokusebenza ukulayisha ekuqaleni, kufanele senze okulandelayo:
crontab -e
@reboot python /usr/local/lib/jasper/jasper.py;
# or, depending on your installation location:
# @reboot python /home/pi/jasper/jasper.py
UJasper ungumsizi ophelele kodwa intuthuko yayo ayisebenzi kangako kune-Alexa, noma kunjalo isebenza ngokuphelele futhi ayinalutho lokuhalela i-Alexa. Yize kunjalo, uJasper usebenza esikhundleni segundane nekhibhodi kunokuba umsizi obonakalayo oxhuma insizakalo nomsebenzisi noma okuphambene nalokho.