{"id":21985528,"url":"https://github.com/julien-cpsn/chat-bot","last_synced_at":"2026-04-15T06:33:43.786Z","repository":{"id":207207834,"uuid":"718682650","full_name":"Julien-cpsn/chat-bot","owner":"Julien-cpsn","description":"Pepper application","archived":false,"fork":false,"pushed_at":"2023-11-28T18:24:46.000Z","size":69657,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-28T05:16:19.659Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Julien-cpsn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-14T15:32:34.000Z","updated_at":"2023-11-15T16:11:09.000Z","dependencies_parsed_at":"2023-11-27T10:12:49.579Z","dependency_job_id":null,"html_url":"https://github.com/Julien-cpsn/chat-bot","commit_stats":null,"previous_names":["julien-cpsn/chat-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-cpsn%2Fchat-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-cpsn%2Fchat-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-cpsn%2Fchat-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-cpsn%2Fchat-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Julien-cpsn","download_url":"https://codeload.github.com/Julien-cpsn/chat-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245044583,"owners_count":20551902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T18:13:57.028Z","updated_at":"2026-04-15T06:33:38.740Z","avatar_url":"https://github.com/Julien-cpsn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat-Bot\n\n## Contributors\n\n- Julien CAPOSIENA @julien-cpsn\n- Johan PLANCHON @joxcat\n\n## Documentation\n\n- http://doc.aldebaran.com/2-5/naoqi/index.html\n- https://gitlab.com/fabricejumel/ihr-raph\n- http://doc.aldebaran.com/2-5/naoqi/interaction/dialog/dialog-syntax_full.html?highlight=qichat\n\n## Description\n\nOur Pepper robot do actions based on an alignement matrix. And can converse with the user.\n\n![Main character alignment](images/main_character_alignment.png)\n\n## Ethical Analysis\n[Ethical Analysis.xlsx](./Analyse_ethique.xlsx)\n\n## Demo\n![demo](./demo.mp4)\n\n## Setup instructions\n\u003e You need `python 2.7`, `curl`, `git` or `tar` (to download the repository) and `ssh` \n\n1. Ssh on the robot using `ssh nao@pepper\u003cN\u003e.local` *(where `\u003cN\u003e` is the pepper number)*\n1. 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`\n2. Run the code using `env OPENAI_KEY=\u003copenai api key\u003e PYTHONIOENCODING=utf-8 python /home/nao/.local/share/PackageManager/apps/chat-bot/app.py` *(if `python` is bound to `python3` use `python2` in place)*\n3. Profit!\n\n## Usage\n### On Tablet\n\u003e You can see and control the tablet on your computer with the url `http://pepper\u003cN\u003e.local/apps/chat_bot/` *(where `\u003cN\u003e` is the pepper number)*\n\nClic 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.\n\n### With voice\nSay 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.\n\n### The assistant\nSay \"Ok\" and then talk to the robot it will transcript the text using Whisper and it will respond using ChatGPT. \n\n## Story Board\n\nHere is our alignment schema:\n\n\u003ctable\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\n            \u003cb\u003eLawful good\u003c/b\u003e\u003cbr\u003e\n            Hug you\n        \u003c/td\u003e\n        \u003ctd\u003e\n            \u003cb\u003eNeutral good\u003c/b\u003e\u003cbr\u003e\n            Hello\n        \u003c/td\u003e\n        \u003ctd\u003e\n            \u003cb\u003eChaotic good\u003c/b\u003e\u003cbr\u003e\n            SIAMO TUTTI ANTIFASCISTI\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\n            \u003cb\u003eLawful neutral\u003c/b\u003e\u003cbr\u003e\n            Sumimasen\n        \u003c/td\u003e\n        \u003ctd\u003e\n            \u003cb\u003eTrue neutral\u003c/b\u003e\u003cbr\u003e\n            Stare at you with no emotions\n        \u003c/td\u003e\n        \u003ctd\u003e\n            \u003cb\u003eChaotic neutral\u003c/b\u003e\u003cbr\u003e\n            1312\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\n            \u003cb\u003eLawful evil\u003c/b\u003e\u003cbr\u003e\n            Round with hand\n        \u003c/td\u003e\n        \u003ctd\u003e\n            \u003cb\u003eNeutral evil\u003c/b\u003e\u003cbr\u003e\n            Ping pong break\n        \u003c/td\u003e\n        \u003ctd\u003e\n            \u003cb\u003eChaotic evil\u003c/b\u003e\u003cbr\u003e\n            Not descriptable\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n### Lawful good\n\nComes at you to hug.\n![](images/lawful-good.png)\n\n### Neutral good\n\nSay Hello and wave hand\n![](images/neutral-good.png)\n\n### Chaotic good\n\nClap his hands while saying \"Siamo tutti antifascisti\"\n![](./images/chaotic-good.png)\n\n### Lawful neutral\n\nSumimasen\n![](images/lawful-neutral.png)\n\n### True neutral\n\nStare at your soul with no emotions. Pure void.\n![](images/true-neutral.png)\n\n### Chaotic neutral\n\n1312\n![](images/chaotic-neutral.png)\n\n### Lawful evil\n\nRound with his hand below the belt.\n![](images/lawful-evil.png)\n\n### Neutral evil\n\nA small ping pong break?\n![](images/neutral-evil.png)\n\n### Chaotic evil\n\nNo description.\n![](images/chaotic-evil.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulien-cpsn%2Fchat-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulien-cpsn%2Fchat-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulien-cpsn%2Fchat-bot/lists"}