You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For many compliance related implementations, we need to use the X-Watson-Learning-Opt-Out Header on requests. Instantiating the text_to_speech with options should provide a documented and clear way to do it, for example:
germanattanasio
changed the title
[text-to-speech] Provide support for setting X-Watson-Learning-Opt-Out
[text-to-speech] Provide support for setting X-Watson-Learning-Opt-Out
Apr 14, 2016
I just added in support for including X-Watson-Learning-Opt-Out as an option for the synthesize() method - does that sound like a good solution to you?
For many compliance related implementations, we need to use the X-Watson-Learning-Opt-Out Header on requests. Instantiating the text_to_speech with options should provide a documented and clear way to do it, for example:
Though I'm not sure on the tag we should use. You can work around this (it seems) by overriding the headers completely this way:
But you have to pass in the content-type or it will get overridden.
The text was updated successfully, but these errors were encountered: