Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
When trying to use the Cloud Translation AI API, however he is getting an error related to the sensitive words filters, in examples that were provided.
Examples:
Hello my name is XXXX. - Result succeed
Hello my name is XXXX. You killed my father - Result failed with error "400 Invalid text input."
As of now there is no way to choose to not have sensitive words filters on or off.
What you expected to happen:
Have a feature to turn on/off the sensitive words filters.
Steps to reproduce:
1. Use the code example in Python from this page to create a code that calls an API (this can be modified as you need):
2. Run the Python Code
3. Writing a sentence without a sensitive word, should return the text translated.
4. Then, try one more time the sentence with a sensitive word (for example, violence, sexual, derogatory, and toxic), should return an error.
Other information (workarounds you have tried, documentation consulted, etc):