(Translated by https://www.hiragana.jp/)
GitHub - Julien-cpsn/chat-bot: Pepper application
Skip to content

Julien-cpsn/chat-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat-Bot

Contributors

  • Julien CAPOSIENA @julien-cpsn
  • Johan PLANCHON @joxcat

Documentation

Description

Our Pepper robot do actions based on an alignement matrix. And can converse with the user.

Main character alignment

Ethical Analysis

Ethical Analysis.xlsx

Demo

demo

Setup instructions

You need python 2.7, curl, git or tar (to download the repository) and ssh

  1. Ssh on the robot using ssh nao@pepper<N>.local (where <N> is the pepper number)
  2. 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
  3. Run the code using env OPENAI_KEY=<openai api key> PYTHONIOENCODING=utf-8 python /home/nao/.local/share/PackageManager/apps/chat-bot/app.py (if python is bound to python3 use python2 in place)
  4. Profit!

Usage

On Tablet

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.

With voice

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.

The assistant

Say "Ok" and then talk to the robot it will transcript the text using Whisper and it will respond using ChatGPT.

Story Board

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

Lawful good

Comes at you to hug.

Neutral good

Say Hello and wave hand

Chaotic good

Clap his hands while saying "Siamo tutti antifascisti"

Lawful neutral

Sumimasen

True neutral

Stare at your soul with no emotions. Pure void.

Chaotic neutral

1312

Lawful evil

Round with his hand below the belt.

Neutral evil

A small ping pong break?

Chaotic evil

No description.