[ros-users] [Discourse.ros.org] [General] Announcement: Update for Google's Dialogflow-v2 and Speech-To-Text API for ROS

Anas Abou Allaban ros.discourse at gmail.com
Fri Nov 9 23:26:02 UTC 2018





Hi everyone,



[Last year](https://discourse.ros.org/t/announcement-a-ros-package-for-googles-speech-to-text-api-and-nlp-api-dialogflow/4337) I wrote a package for Google's STT API and NLP platform [Dialogflow](http://dialogflow.com). The package worked well but had two issues:

1. It required you to use Google's STT API to get text and then send it to Dialogflow.

2. It can only be run locally.



With this updated package you can:

1. Send audio directly to Dialogflow through your mic.

2. Send/receive audio through a server that you can run on another computer/robot on your network so that you don't have to run everything on one machine.

3. Exposed access to contexts, intents, query text, confidence, and cleaner message format.



There is no need to ROS-ify the Google STT API anymore since Dialogflow does most of the work. However, if you're interested in using the beta/ML features for more fine tuned speech recognition, then I left a [script](https://github.com/piraka9011/dialogflow_ros/blob/master/scripts/google_client.py) that can be used if you're interested.



Documentation can be found here: https://wiki.ros.org/dialogflow_ros

Repo here: https://github.com/piraka9011/dialogflow_ros



The installation instructions are the same and there is an `install.sh` script you can run which takes care of most of the work, except for setting up your Google credentials (instructions in docs).



Again, Id love to get some feedback on how to enhance this and what features to add. 



Best,

Anas











---

[Visit Topic](https://discourse.ros.org/t/announcement-update-for-googles-dialogflow-v2-and-speech-to-text-api-for-ros/6787/1) or reply to this email to respond.









More information about the ros-users mailing list