Trying to get attached workflow working in line with this guidance.
Test flac file on guidance page.
Your help is greatly appreciated.
Thnaks
Solved! Go to Solution.
Hi @bmillrine,
A new great example, thanks a lot!
You are almost done with your workflow! The online missing thing is the file itself.
In the example, curl is used with parameter --data-binary to upload the file:
curl -X POST -u {username}:{password}
--header "Content-Type: audio/flac"
--header "Transfer-Encoding: chunked"
--data-binary @{path}audio-file.flac
"https://stream.watsonplatform.net/speech-to-text/api/v1/recognize?continuous=true"
In your workflow, you will have to do the same using a Blob Input tool:
It will use the file path mentioned in the Text Input tool ([file path]):
The result of this tool will be used directly in the Download tool:
As a result you should obtain something similar to the following:
Kind regards,
Paul Noirel
Customer Support Engineer
Paul
Thanks for your help, greatly appreciated.
Thanks
@ PaulN
Hi,
IBM updated their API, and your workflow is not working any more. Would you mind to have a quick look?
I'm getting the following error: