-
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
[SEARCH] Add support for language auto-detection in OcrSkill #24384
Comments
The code seems to be auto-generated based on /stable/2019-05-06/searchservice.json . Created a branch with what seem to be the required changes: Add "unk" value for "OcrSkillLanguage" |
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
Thanks @tiantun for reporting the issue and suggesting a change to fix the issue. |
I see a PR has been created against the target branch - Azure/azure-rest-api-specs#16279 |
Thank you @Mohit-Chakraborty . Can we keep this one open until the generated code in the SDK is updated as well? |
Sure. Since this issue is in the .NET SDK repo, we will keep it open till we consume the change in the SDK. |
Do we know when this will be available in the SDK? |
It was added in '11.4.0-beta.6'. I will close the issue. Let me know if there are issues. |
Library or service name.
Microsoft.Azure.Search
Azure.Search.Documents
Is your feature request related to a problem? Please describe.
Enabling auto-detection on the OCR Skill requires setting the "defaultLanguageCode" to "unk". See OCR cognitive skill:
"If the language code is unspecified or null, the language will be set to English. If the language is explicitly set to "unk", the language will be auto-detected."
This seems to be the behaviour since at least early 2019:
Set to "unk" to have system auto-detect language.
However, this is currently not possible in the Search SDKs.
The text was updated successfully, but these errors were encountered: