-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Translation V3 GA samples #2478
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
Translation V3 GA samples #2478
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- we should consider adding label samples or adding label arguments to translate, batch translate and detect language snippets
- we should consider adding a detect_language_with_model sample
- we should consider adding a get_supported_languages_for_model sample
translate/cloud-client/translate_v3_batch_translate_text_with_model_test.py
Outdated
Show resolved
Hide resolved
translate/cloud-client/translate_v3_batch_translate_text_test.py
Outdated
Show resolved
Hide resolved
translate/cloud-client/translate_v3_list_languages_with_target.py
Outdated
Show resolved
Hide resolved
translate/cloud-client/translate_v3_list_languages_with_target.py
Outdated
Show resolved
Hide resolved
translate/cloud-client/translate_v3_translate_text_with_glossary_test.py
Outdated
Show resolved
Hide resolved
Quick question, what's the the |
translate/cloud-client/translate_v3_batch_translate_text_with_model_test.py
Outdated
Show resolved
Hide resolved
For 2 and 3. I don't think the product team asked for them or the docs either, so if we don't have them in the docs, I don't think we need them. |
yes, but as it stands right now, the region tag and file names are really confusing. i believe it is important to clarify which examples are for v2 and which are for v3. |
After discussing with @nnegrey, let's remove v2 samples from this PR. |
translate/cloud-client/translate_v3_translate_text_with_glossary_and_model_test.py
Outdated
Show resolved
Hide resolved
translate/cloud-client/translate_v3_create_and_delete_glossary_test.py
Outdated
Show resolved
Hide resolved
I just pulled the latest and a lot of the tests are failing for me. |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests pass locally on noah's machine. lgtm.
need manual samples:
batch_translate_text_with_glossary_and_model
batch_translate_text_with_glossary