Closed Lucas-Simonet closed 2 weeks ago
Thank you for your feedback. Tagging and routing to the team member best able to assist.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-ml-sdk @azureml-github.
@Lucas-Simonet for interacting with Azure OpenAI deployments, I suggest using the azure-mgmt-cognitiveservices
library since I believe azure-ai-resources
to be deprecated.
This doc shows how to install the library and get a deployment: https://learn.microsoft.com/en-us/rest/api/aiservices/accountmanagement/deployments/get?view=rest-aiservices-accountmanagement-2023-05-01&tabs=Python#getdeployment. Note that it returns a Deployment object which has information about call quota under the properties. Let us know if that works for you!
Hi @Lucas-Simonet. 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.
It worked 🥳 Thanks a lot @kristapratico
azure-ai-ml = "1.15.0" azure-ai-generative = "^1.0.0b8"
Operating System: MacOs Sonoma 14.5
Python Version: 3.12.4
Describe the bug I'm trying to create an AIClient object to interact with my Azure OpenAi deployments (and get their quotas for example)
But I can't find what I'm suppose to put as project_name or ai_ressource_name When trying to call ai_client.azure_open_ai_deployments.list() or ai_client.azure_open_ai_deployments.get("deployment_name") methods, I get the following error :
Message: The Resource 'Microsoft.MachineLearningServices/workspaces/project_name' under resource group 'ressource_group' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
A lot of the docs seems to fit the AI Azure Studio, but I'm working with the Azure Openai Studio
Expected behavior Be able to interact with my Azure OpenAi deployments Could you please show me screenshots of where I could find such project_name ?
Thanks a lot