Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird Response #110

Closed
deepanshu88 opened this issue Aug 25, 2023 · 2 comments
Closed

Weird Response #110

deepanshu88 opened this issue Aug 25, 2023 · 2 comments
Labels
type:help Support-related issues

Comments

@deepanshu88
Copy link

deepanshu88 commented Aug 25, 2023

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." } }'

@keertk keertk added category:palm api type:help Support-related issues labels Aug 25, 2023
@markmcd
Copy link
Member

markmcd commented Aug 28, 2023

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

This is not a correct assumption.

@markmcd markmcd closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2023
@suyogkute
Copy link

i also have the same issue. @markmcd can you direct us about this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:help Support-related issues
Projects
None yet
Development

No branches or pull requests

4 participants