Hello Ryan Brown,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are having a bug issue in the Test section of Azure AI Document Intelligence Studio.
To resolve the bug, since models from other projects are incorrectly appearing in the Test view. That might be caused by model fetch API or UI component may be retrieving models from a broader scope (e.g., same resource group or subscription). The first thing you need to do is to:
- Review and limit the backend query to fetch only models from the selected project (
projectId
scoping in backend APIs - https://learn.microsoft.com/en-us/rest/api/documentintelligence/document-models/list - Check that the front-end
Test
page binds to the correctprojectId
context. - Implement integration tests to confirm the loaded model matches the selected project context.
Secondly, you might need to sort the Model Dropdown alphabetically because, unsorted list reduces productivity and increases error risk. You can:
- Add alphabetical sorting to the frontend UI rendering function for the dropdown list.
- Implement client-side sorting or request the backend to return sorted results - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
Finally, the above is to try more. My advice is to contact Priority Customer Support for fast response if you can submit details of the bug. Also, file a bug ticket through GitHub or Azure Support and provide a tracking ID to the customer via Azure Portal.
I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.