Hi @Gal, Ofer (Israel) , Thanks for using Microsoft Q&A Platform.
May i know the model and the region in which deployment is created?
Generally, OpenAI Contributor
role should be sufficient permissions to deploy OpenAI models.
If you are unsure whether you have this permission, you can follow these steps to check your permissions:
- Go to the Azure portal and navigate to your Azure OpenAI resource.
- Click on "Access control (IAM)" in the left-hand menu.
- Click on "Add" and select "Add role assignment".
- In the "Add role assignment" pane, select the "Contributor" role and search for your user account.
- Click on "Add" to assign the Contributor role to your user account.
Need to have the "Microsoft.CognitiveServices/accounts/OpenAI/deployments/write" permission assigned to your account. This permission allows you to create and update deployments for your Azure OpenAI resource.
Regarding your question AZURE_OPENAI_API_KEY, you can obtain the API key from the Azure portal by navigating to your Azure OpenAI resource and clicking on "Keys and Endpoint" in the left-hand menu.
I hope this helps.
Regards,
Vasavi
-Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.