alexylem / jarvis

Jarvis.sh is a simple configurable multi-lang assistant.
http://openjarvis.com
MIT License
806 stars 197 forks source link

Pas de reconnaissance des commandes avec Wit.ai #979

Open alibaba080290 opened 4 years ago

alibaba080290 commented 4 years ago

Description

Bonjour

J'ai installé Jarvis sur un RPI 3 B+ avec Wit.ai , l'API semble bien traduire ce que je lui dis mais il n'execute aucune commande et je ne comprend pas pourquoi...

Pouvez-vous m'aider?

Logs

------------ Config ------------ jv_branch master jv_version
jv_arch armv7l jv_os_name raspbian jv_os_version 10 language fr_FR play_hw false rec_hw false speaker Default microphone Default recorder sox trigger_stt snowboy command_stt wit tts_engine svox_pico

DEBUG: program_startup hook DEBUG: start_speaking hook "oui maitre!" jarvis: oui maitre! DEBUG: stop_speaking hook User defined commands: AIDE BONJOUR|SALUT COMMENTAPPELLE MERCI AU REVOIR|BYE ANNULE|TERMINE ENCORE TEST VERSION REPETE () ET () CA VA >OUI*

NON|PAS Commands from plugin jarvis-alsamixer: VISPARLEPLUSFORT| VISPARLEMOINSFORT| VISVOLUME100|VISV VISCOUPELEHAUTPARL VISTUESLA VISBAISSEMICRO VISAUGMENTEMICRO GOTOMICROTESTOK OUI >NON
ALSANUIT ALSANJOUR* Commands from plugin jarvis-systemd-startup:

Commands from plugin jarvis-jeedom: Commands from plugin jarvis-home-control: ALLUM[^ ]+ () ETEIN[^ ]+ () Commands from plugin jarvis-lacitation: RAJOUTEPROVERBE|RAJ > >>OUI

NON PROVERBE|CITATION Commands from plugin jarvis-bruitages: FAI () QUEBRUITAGE*
Commands from plugin jarvis-newsapi:

Commands from plugin jarvis-blagues: RACONTBLAGUE REPETEBLAGUE RETIENBLAGUE LIBLAGUENUM () COMBIENBLAGUE Commands from plugin jarvis-web-answers: qui |que |quoi | Commands from plugin jarvis-dialogflow: * jarvis: Waiting to hear 'jarvis' Maitre: (listening...) DEBUG: models=jarvis INFO:snowboy:Ticks: [-1, -1, -1, -1] INFO:snowboy:Keyword 1 detected at time: 2020-06-12 11:04:16 DEBUG: modelid=0 jarvis DEBUG: entering_cmd hook DEBUG: start_speaking hook "que puis-je faire?" jarvis: que puis-je faire? DEBUG: stop_speaking hook Maitre: (listening...) DEBUG: start_listening hook utils/timeout.sh 10 rec -V1 -q -r 16000 -c 1 -b 16 -e signed-integer --endian little /dev/shm/jarvis-record.wav gain 0 silence 1 0.1 4.1% 1 0.5 4.1% pad 0.5 0.5 trim 0 5 DEBUG: speech duration was 15 (10 = 1 sec) DEBUG: stop_listening hook DEBUG: { "WARNING": "DEPRECATED", "_text": "bonjour", "msg_id": "1En0ZUkefbxiBAzF1", "outcomes": [ { "_text": "bonjour", "confidence": null, "entities": {}, "intent": "default_intent" } ] } ?(listening...) DEBUG: start_listening hook utils/timeout.sh 10 rec -V1 -q -r 16000 -c 1 -b 16 -e signed-integer --endian little /dev/shm/jarvis-record.wav gain 0 silence 1 0.1 4.1% 1 0.5 4.1% pad 0.5 0.5 trim 0 5 DEBUG: stop_listening hook DEBUG: timeout, end of conversation DEBUG: listening_timeout hook DEBUG: exiting_cmd hook jarvis: Waiting to hear 'jarvis' Maitre: (listening...) DEBUG: models=jarvis INFO:snowboy:Ticks: [-1, -1, -1, -1]

ferrader commented 4 years ago

Salut, j'ai trouvé une solution pour le faire reconnaitre, je vais créer un fork pour la pusher.

ferrader commented 4 years ago

Hello, I work in CNRS and I propose to fork this project because I need this for my work. Here the github I use https://github.com/ferrader/openjarvis_nextgen. Thanks you