-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add Translation Text client library #34965
Conversation
Mimat/translator
Removing Detect
Fixing BreakSentence
Mimat/documentation
* Initial work for adding tests * Sanitizing the keys * Covering all test scenarios from Sample document and Hero scenarios * Updating dynamic dictionary test case * Updated based on PR comments --------- Co-authored-by: Hamshavathi Munibyraiah (Murphy V-hmunibyrai Associates Inc) <[email protected]>
sdk/translation/Azure.AI.Translation.Text/src/Azure.AI.Translation.Text.csproj
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/api/Azure.AI.TextTranslator.netstandard2.0.cs
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/src/TextTranslationClientBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/src/TextTranslationClient.cs
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/samples/Sample0_CreateClient.md
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/samples/Sample0_CreateClient.md
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/samples/Sample0_CreateClient.md
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/samples/Sample0_CreateClient.md
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/samples/Sample0_CreateClient.md
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/samples/Sample2_Translate.md
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/samples/Sample2_Translate.md
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/samples/Sample2_Translate.md
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/tests/Infrastructure/TextTranslatorTestEnvironment.cs
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/src/Models/InputTextWithTranslation.cs
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/tests/TranslationLiveTests.cs
Outdated
Show resolved
Hide resolved
sdk/translation/Azure.AI.Translation.Text/api/Azure.AI.Translation.Text.netstandard2.0.cs
Show resolved
Hide resolved
cc @Azure/dpg-devs |
/// <param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param> | ||
/// <exception cref="RequestFailedException"> Service returned a non-success status code. </exception> | ||
/// <returns> The response returned from the service. Details of the response body schema are in the Remarks section below. </returns> | ||
internal virtual async Task<Response> GetLanguagesAsync(string clientTraceId = null, string scope = null, string acceptLanguage = null, ETag? ifNoneMatch = null, RequestContext context = null) |
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.
@MikeyMCZ Do you want to make the protocol method internal here? If so, you should mark the operation with decorator @protocol(false)
like this Azure/azure-rest-api-specs#23681
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.
Adding library for Translation Text Azure service: https://learn.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate