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.06k stars 1.19k forks source link

[Document-Intelligence] Types for prebuilt models #28506

Open mwohlan opened 7 months ago

mwohlan commented 7 months ago

Is your feature request related to a problem? Please describe.

Since document-intelligence will be the successor of form recognizer I already looked into the migration path and did some testing. During my testing I noticed the lag of types, which were available for form recognizer in the samples/prebuilt folder. The samples for document-intelligence mention the following:

// Use of PrebuiltModels.Receipt above (rather than the raw model ID), adds strong typing of the model's output

But I dont know where I can find the mentioned types.

Describe the solution you'd like

A similar solution as we had before with form recognizer or a even more deeply integrated type system for prebuilt models.

Describe alternatives you've considered

Doing the types manually, but I would prefer a central solution.

HarshaNalluru commented 7 months ago

Thanks for the valuable feedback, @mwohlan.

We'll likely be publishing the prebuilt models by the next preview.

leonidas1712 commented 2 weeks ago

Hi is there any update on this issue? I still can't find the types