Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.03k stars 1.19k forks source link

No support for queryFields? #28181

Closed jordmax12 closed 6 months ago

jordmax12 commented 8 months ago

Describe the bug I couldn't find any support for queryFields in the code for form recognizer, is there no way to use this using this package?

To Reproduce Steps to reproduce the behavior:

  1. No way to use queryFields in your request with beginAnalyzeDocument

Expected behavior I expected to be able to use query fields with this npm package.

jordmax12 commented 8 months ago

Just realized this only works with the 2023-10-31-preview, and im guessing thats why theres no support for this yet. Is this coming in the future?

HarshaNalluru commented 7 months ago

Hey @jordmax12,

Form Recognizer service has been rebranded to Document Intelligence with newer features and comes with a new REST level client SDK "@azure-rest/ai-document-intelligence".

Here's how you can use the query fields with the new SDK. https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/documentintelligence/ai-document-intelligence-rest/MIGRATION-FR_v4-DI_v1.md#query-fields

Additional Links - Samples, Migration Guide

github-actions[bot] commented 6 months ago

Hi @jordmax12. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

github-actions[bot] commented 6 months ago

Hi @jordmax12, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!