ITADN

outdated example code

#1544OpenmovAX13h 创建于 2023-09-07
M
movAX13hcommented
I'm not sure if this is the right place to report this issue - sorry if it isn't. This page shows invalid and outdated source code in the JavaScript example: https://learn.microsoft.com/de-de/azure/ai-services/language-service/text-analytics-for-health/quickstart?tabs=windows&pivots=programming-language-javascript ![image](https://github.com/MicrosoftDocs/azure-docs-sdk-node/assets/1974959/709f5d23-b892-4061-a7e7-fb80858ca415) From top to bottom: - Should be `TextAnalyticsClient` for the client class name. - `beginAnalyzeBatch` does not exist anymore; can be replaced with `beginAnalyzeHealthcareEntities(documents, 'en')` thus the `action` const above can be removed - `modifiedOn` is now `lastModifiedOn`
0 条评论