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
When I use API for translation, it does not return output. Instead it applies some filtering like below..
{
"filters": [
{
"reason": "OTHER"
}
]
}
Here's my curl command. It works for "hindi" language but not for "german", that's weird.. But it works on Bard Website which I am assuming using the same API -- $ curl https://generativelanguage.googleapis.com/v1beta2/models/text-bison-001:generateText?key=$PALM_API_KEY -H 'Content-Type: application/json' -X POST -d '{"prompt": { "text": "Act like a human translator and translate the following text to german language. \n I love you." } }'
The text was updated successfully, but these errors were encountered:
This repository is for the PaLM documentation. Closing as this doesn't appear related.
However, you can find the supported languages here. You can leave product feedback by either clicking "send feedback" on the documentation, or in MakerSuite.
But it works on Bard Website which I am assuming using the same API
When I use API for translation, it does not return output. Instead it applies some filtering like below..
Here's my curl command. It works for "hindi" language but not for "german", that's weird.. But it works on Bard Website which I am assuming using the same API --
$ curl https://generativelanguage.googleapis.com/v1beta2/models/text-bison-001:generateText?key=$PALM_API_KEY -H 'Content-Type: application/json' -X POST -d '{"prompt": { "text": "Act like a human translator and translate the following text to german language. \n I love you." } }'
The text was updated successfully, but these errors were encountered: