Keep getting quota error to create OAI assistant

Suyeol Yun 0 Reputation points
2024-04-08T12:11:10.6766667+00:00

Whenever I am trying to create openai assistant using client.beta.assistants.create

assistant = client.beta.assistants.create(
  instructions="You are a personal math tutor. When asked a math question, write and run code to answer the question.",
  model="gpt-4-turbo-preview",
  tools=[{"type": "code_interpreter"}]
)

I got 400 quota error.

So I checked the quota increase request section but there's no quota related to increase assistant creation quota.

How to solve this?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,087 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 27,540 Reputation points Microsoft Employee Moderator
    2024-04-09T03:18:40.6466667+00:00

    @Suyeol Yun Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Plan 1:

    Firstly confirm if you have the Cognitive Services OpenAI Contributor RBAC permissions on the resource.

    User's image

    Plan 2:

    The Azure OpenAI Service quotas and limits are explained in details here. Please ensure that the quota limit is not exceeded. You can check your current usage by following the below steps:

    Open the Azure AI Studio from **this link. **and select the concerned subscription and resource.

    For an all up view of your quota allocations across deployments in a given region, select Management > Quota in Azure AI Studio:

    User's image

    More info here.

    If you are reaching the limits, click on the Request Quota link on the right side.

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.