Closed pabiq closed 6 years ago
Hi @pabiq, I haven't touched this code in quite some time. It might very well be that the wit-module by now has a newer version that does not have an init and close function anymore.
In that case, there are 2 options:
A pull request is welcome in either case.
Hi, I was wondering if @pabiq has found a solution to this issue? I'm currently trying to run it now and it's giving me the same error.
Thanks!
Oh boy, the Wit.ai API completely changed since I originally wrote this.
According to the current docs, There is no more init-call, you just pass the API key to the Wit-class. There is no shutdown/close needed.
The text_query
is replaced by message
AFAICT, making for this essential diff:
- response = json.loads(wit.text_query(sentence, APIKEY))
+ response = json.loads(wit.message(sentence))
I don't have ROS at work right now, maybe this helps to fix the basics.
@JonarJr @pabiq A fix is on branch fix/4 so please give that a try.
@LoyVanBeek Thank you for wit_ros package
I got some error while launching start.launch it got something like this.
any advice to solve this problem will be very appreciated
Thank you.