Hi
First of all, I'm sorry that I'm taking your time.
This is not really an issue with this bot, it's a question I had.
The thing is, this bot supports Persian STT but the problem is when I try wit.ai as an API for my project, this is the response I get:
{
"error" : "Speech recognition is not supported for language: Persian",
"code" : "bad-request"
}
I'm using POST method for speech using the following command in terminal:
Hi First of all, I'm sorry that I'm taking your time. This is not really an issue with this bot, it's a question I had. The thing is, this bot supports Persian STT but the problem is when I try wit.ai as an API for my project, this is the response I get:
{ "error" : "Speech recognition is not supported for language: Persian", "code" : "bad-request" }
I'm using POST method for speech using the following command in terminal:
curl -XPOST 'https://api.wit.ai/speech?v=20170307' -i -L -H "Authorization: Bearer $MYTOKEN" -H "Content-Type: audio/mpeg3" --data-binary "@sample.mp3"
I just replace $MYTOKEN with my real token that I got in the app. so my question is, how did you do that?