https://github.com/julien-cpsn/chat-bot
Pepper application
https://github.com/julien-cpsn/chat-bot
Last synced: about 2 months ago
JSON representation
Pepper application
- Host: GitHub
- URL: https://github.com/julien-cpsn/chat-bot
- Owner: Julien-cpsn
- Created: 2023-11-14T15:32:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-28T18:24:46.000Z (over 1 year ago)
- Last Synced: 2025-01-28T05:16:19.659Z (4 months ago)
- Language: Python
- Size: 66.4 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chat-Bot
## Contributors
- Julien CAPOSIENA @julien-cpsn
- Johan PLANCHON @joxcat## Documentation
- 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## Description
Our Pepper robot do actions based on an alignement matrix. And can converse with the user.

## Ethical Analysis
[Ethical Analysis.xlsx](./Analyse_ethique.xlsx)## 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 [email protected]` *(where `` is the pepper number)*
1. 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`
2. Run the code using `env OPENAI_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)*
3. Profit!## Usage
### On Tablet
> You can see and control the tablet on your computer with the url `http://pepper.local/apps/chat_bot/` *(where `` 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](#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](#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.
