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

cognitive_endpoint() seems broken for TextTranslate (Azure Translator) #1

Closed
quickcoffee opened this issue Sep 29, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@quickcoffee
Copy link

Hi,
when calling cognitive_endpoint() with either "TextTranslate" or "Translator" I receive an error Error: Unknown cognitive service.

Here is the full code:

endp <- cognitive_endpoint("https://api.cognitive.microsofttranslator.com/",
                           service_type="TextTranslate", key=cog_translator$list_keys()[1])

Also it would be great if the documentation is updated to show the supported cognitive services including the names to be provided to cognitive_endpoint()

@hongooi73 hongooi73 added the bug Something isn't working label Oct 2, 2020
@hongooi73
Copy link
Collaborator

It looks like there have been some changes to endpoint URLs and other low-level details since the package was released. This should hopefully be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants