Getting error max_prompt_tokens only when generating files @ Assistants
Hi, At Azure OpenAi Assistants, all runs keep failing when asking to generate file. Error details Max prompt tokens while other types of prompts are normally operating "id": "run_4BCHhcmo09UaoFdPPt3XQnyO", "object":…
Updating code_interpreter file_ids using Python at Azure OpenAi Assistant
Hi, I was trying to update code_interpreter file_ids using Python at Azure OpenAi Assistant, but got the following error, any work arounds? To best of my knowledge only 20 file_ids supported An error occurred: Error code: 400 - {'error': {'message':…
How to fix : Error code: 401 - {'statusCode': 401, 'message': 'Unauthorized. Access token is missing, invalid, audience is incorrect (https://cognitiveservices.azure.com), or have expired.'}
Can someone give an example? I matched the api version the same as the model deployment endpoint's target uri- for example, (Note that the real address is masked with [azureopenai-resourcename] since everyone's case will be different)…
What causes Error code: 401 - {'statusCode': 401, 'message': 'Unauthorized. Access token is missing, invalid, audience is incorrect (https://cognitiveservices.azure.com), or have expired.'}?
Can someone give an example? I matched the api version the same as the model deployment endpoint's target uri- for example, (Note that the real address is masked with [azureopenai-resourcename] since everyone's case will be different)…
Failed to call Azure OpenAI API: { "statusCode": 401, "message": "Unauthorized. Access token is missing, invalid, audience is incorrect (https://cognitiveservices.azure.com), or have expired." }
Failed to call Azure OpenAI API: { "statusCode": 401, "message": "Unauthorized. Access token is missing, invalid, audience is incorrect (https://cognitiveservices.azure.com), or have expired." }
Unable to Deploy Web App from AI Studio Chat Playground
Following the Azure docs about creating a Web app chatbot I fill in the correct deployment information from an AI Studio project based in East US. In the Chat Playground in Azure AI Studio I select Deploy > ...As a Web App with the following…
Uploading Files with "assistants" purpose
curl --location 'https://huswabagpt.openai.azure.com/openai/files/import?api-version=2024-08-01-preview' --header 'api-key: ' --header 'Content-Type: application/json' --data…
How long does the Founder Hub credits last?
Hello! I wanted to know when the Founders Hub credits expire and if it is possible to extend that limit. We received our credits in May, and now we are able to use them because we had severe issues with Microsoft and Azure Open AI that were impeding the…
Reading User Documents as Input to Copilot Prompts
Hello everyone, We are exploring the possibility of creating a custom chat and RAG solution using Azure OpenAI for our team, and we have a specific requirement that I hope someone can help clarify. We would like to implement a system where each user can…
Unable to create openai resource
{ "status": "Failed", "error": { "code": "InvalidTemplateDeployment", "message": "The template deployment 'openai' is not valid according to the validation…
Azure OpenAI API returns 401 Unauthorized with audience error: "https://cognitiveservices.azure.com" expected
Issue: I’m receiving a 401 Unauthorized error when trying to access the Azure OpenAI API. The error message specifically mentions: "Unauthorized. Access token is missing, invalid, audience is incorrect (https://cognitiveservices.azure.com), or have…
Prompt caching works for OpenAI model o1-preview but not gpt-4o
According this documentation: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/prompt-caching ...support for prompt caching was added in the 2024-10-01-preview API version, for several models including gpt-4o-2024-08-06 and…
Azure OpenAI, gpt-4o-mini have exceeded token rate limit of your current OpenAI S0 pricing tier.
When I use playgroud to chat. When I only type Text, it works well. But when I upload an image. it prompts: Requests to the ChatCompletions_Create Operation under Azure OpenAI API version 2024-10-01-preview have exceeded token rate limit of your…
document translation python error
Hi, i try use sample code from your docomentation the code: import os from azure.core.credentials import AzureKeyCredential from azure.ai.translation.document import SingleDocumentTranslationClient from azure.ai.translation.document.models import…
Tell me how to resolve error code 401.
"Tell me how to solve the error described below." ###program.cs### Here's the code with the comments translated into English: using System; using System.Text; using System.Net.Http; using System.Net.Http.Headers; using…
Urgent: Missing OpenAI API Credits
Dear Microsoft Support Team, I hope this message finds you well. I am writing to express my concern regarding the OpenAI API credits that I have not yet received. Despite completing the necessary steps to claim the $5000 credits, they have not been…
Out of quota after adding data source to model
After deploying of Azure OpenAI model and making test request as "Hello" I successfully receive answer. But when i use "add You data" and downloading a .docx document with single word "test" I'm receiving message "An…
"start compute session" fails with no reason
hi, in AI Studio i have a prompt flow when i start compute session it eventually fails :-( after a long time it is running. in the diagnostic log i have this: 2024-11-10 19:55:38 +0 Information Try to Install session with config:…
Out of quota after adding data source to model
After deploying Azure OpenAI model and making test request "hello" I successfully received answer from model. But after using "add you data" and downloading .docx document with single word "test" to blob storage I get…
Deploy as Web App fails in Chat playground from Azure Open AI. ModuleNotFoundError: No module named 'app'
Description: I am experiencing an issue with the one-click deployment from the Azure OpenAI Studio (Chat Playground). The web app is being deployed with the following settings: Web App Plan: S1 Region: Sweden Central The deployment process completes…