Giter Site home page Giter Site logo

rasa-x-projet-innovation's Introduction

Projet NAO-Rasa

Contacter fabrice.lefevre@univ-avignon, 2020

##Installation

Attention : partout il faut utiliser la vraie IP de vos servers dans les fichiers de config (localhost ne fonctionne pas...)

Serveur de dialogue

  • Serveur RASA-X
  • Aller dans PyDial et suivre instructions README
    • Conseil : installer un virtualenv (virtualenv PyDial, puis source PyDial/bin/activate ensuite)
  • Lancer python tests/test_Server.py
    • Ficher de config dans test/configs/KUSTOM : régler l'IP
    • googleSR.py : paramètre "fr-FR" l27, à remplacer par "en-EN" pour tester les domaines par défaut

============== Pour tester le serveur : curl -i -X POST -H 'Content-Type:' http://192.168.1.57:5000/google?data:"AAD//wUA8f8kAML/TADX/8n75fqn9iH5GwbCBywEzQEMBsgNygx0ChcMNArNCDwFWf2sARMKrgwsBHn31vbW/tf+jPvs/WIDnQZa/pP1"& params:"KDEsIDIsIDE2MDAwLCA3MzcyOCwgJ05PTkUnLCAnbm90IGNvbXByZXNzZWQnKQ=="

==> doit produire une erreur car le fichier audio, data=, n'est pas complet

Serveur de reconnaissance de parole

  • Serveur googleSR.py
  • A installer dans un virtualenv (avec au moins "pip install speechRecognition). Et penser au 'source projet_robotparlant/bin/activate' à chaque fois !

============== Pour tester le serveur : curl -i -X POST -H 'Content-Type: application/json' -d '{"sender":"toto","message":"hello"}' http://192.168.1.70:5005/webhooks/rest/webhook/

==> doit produire (variable selon les modèles chargés bien sur) : HTTP/1.1 200 OK Connection: keep-alive Keep-Alive: 5 Content-Length: 63 Content-Type: application/json

[{"recipient_id":"toto","text":"I am a bot, powered by Rasa."}]

NAO

  • Démarrer Chorégraphe
  • Ouvrir Projet NaoRasaProject/NaoRasa.pml
  • Modifier boites RasaCall et SpeechRecognition pour ajuster les IP des serveurs
  • Connecter au NAO (soit filaire, soit wifi)
  • Charger le projet sur le robot (F5)
  • Tester

Merci à N. Duret et L. Fournié, @CERI19, pour avoir fourni la base de de ce travail.

rasa-x-projet-innovation's People

Contributors

khalil-elf441 avatar

Watchers

 avatar  avatar

rasa-x-projet-innovation's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.