Settings

Theme

Show HN: WitBot – A Ruby Client for wit.ai

github.com

23 points by penne12 10 years ago · 6 comments

Reader

penne12OP 10 years ago

I decided to make this after seeing that wit.ai's official ruby client was only able to send messages to wit ai and get the json response back. I made an entire library to request things from wit.ai, create bots to respond to intents, ect.

  • mark_l_watson 10 years ago

    Does it support speech input? I have looked at using the microphone/speech input capabilities in Chrome for web apps, and I am interested in support for that, understanding that your client library and Wit.ai calls would be sever side.

    • penne12OP 10 years ago

      Sadly, no. Ruby is not normally used for client side apps, so I didn't decide to spend time on that (like wit's new official library). You could easily modify the library to send audio files, though. Sadly, you still have the problem of getting speech from the user, normally a somewhat difficult process that this gem alone couldn't take care of.

      But, if you'd like to send a PR for sending audio files, I'd very much love to accept it.

penne12OP 10 years ago

I just created a GH pages site for wit_bot. You can view it here: http://bensites.com/wit_bot/. It might be nicer. Your choice :D

bh13731 10 years ago

Looks good Penne! I'll let you know how we get on... www.meetcleo.com

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection