- Julien CAPOSIENA @julien-cpsn
- Johan PLANCHON @joxcat
- http://doc.aldebaran.com/2-5/naoqi/index.html
- https://gitlab.com/fabricejumel/ihr-raph
- http://doc.aldebaran.com/2-5/naoqi/interaction/dialog/dialog-syntax_full.html?highlight=qichat
Our Pepper robot do actions based on an alignement matrix. And can converse with the user.
You need
python 2.7
,curl
,git
ortar
(to download the repository) andssh
- Ssh on the robot using
ssh nao@pepper<N>.local
(where<N>
is the pepper number) - Clone the repo in /home/nao/.local/share/PackageManager/apps/chat-bot
git clone https://github.com/Julien-cpsn/chat-bot.git /home/nao/.local/share/PackageManager/apps/chat-bot
- Run the code using
env OPENAI_KEY=<openai api key> PYTHONIOENCODING=utf-8 python /home/nao/.local/share/PackageManager/apps/chat-bot/app.py
(ifpython
is bound topython3
usepython2
in place) - Profit!
You can see and control the tablet on your computer with the url
http://pepper<N>.local/apps/chat_bot/
(where<N>
is the pepper number)
Clic any of the 9 alignement chart button to choose which action the robot will do. Please refer to the Story Board for the consequence of the choice.
Say the name of any of the 9 alignement chart cases to choose which action the robot will do. Please refer to the Story Board for the consequence of the choice.
Say "Ok" and then talk to the robot it will transcript the text using Whisper and it will respond using ChatGPT.
Here is our alignment schema:
Lawful good Hug you |
Neutral good Hello |
Chaotic good SIAMO TUTTI ANTIFASCISTI |
Lawful neutral Sumimasen |
True neutral Stare at you with no emotions |
Chaotic neutral 1312 |
Lawful evil Round with hand |
Neutral evil Ping pong break |
Chaotic evil Not descriptable |
Clap his hands while saying "Siamo tutti antifascisti"
Stare at your soul with no emotions. Pure void.