Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azopenai] Fixing issue where you can't use whisper with m4a files. #22210

Merged
merged 4 commits into from
Jan 9, 2024

Model was different.

dcaa850
Select commit
Loading
Failed to load commit list.
Merged

[azopenai] Fixing issue where you can't use whisper with m4a files. #22210

Model was different.
dcaa850
Select commit
Loading
Failed to load commit list.
Azure Pipelines / go - azopenai succeeded Jan 8, 2024 in 9m 40s

Build #20240108.2 had test failures

Details

Tests

  • Failed: 1 (0.08%)
  • Passed: 1,180 (96.41%)
  • Other: 43 (3.51%)
  • Total: 1,224
Code coverage

  • 853 of 2632 lines covered (32.41%)

Annotations

Check failure on line 1 in TestImageGeneration_OpenAI_Base64

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - azopenai

TestImageGeneration_OpenAI_Base64

Failed
Raw output
[Jan  8 22:55:05.898647] Retry: =====> Try=1
[Jan  8 22:55:05.898647] Request: ==> OUTGOING REQUEST (Try=1)
   POST https://api.openai.com/v1/images/generations?api-version=2023-12-01-preview
   Accept: application/json
   Authorization: REDACTED
   Content-Length: 121
   Content-Type: application/json
   User-Agent: azsdk-go-azopenai.Client/v0.4.1 (go1.18.10; Windows_NT)
   --------------------------------------------------------------------------------
{"model":"dall-e-3","prompt":"acrylic painting of a sunflower with bees","response_format":"b64_json","size":"1024x1792"}
   --------------------------------------------------------------------------------

[Jan  8 22:55:15.755305] Response: ==> REQUEST/RESPONSE (Try=1/9.8566725s, OpTime=9.8566725s) -- RESPONSE RECEIVED
   POST https://api.openai.com/v1/images/generations?api-version=2023-12-01-preview
   Accept: application/json
   Authorization: REDACTED
   Content-Length: 121
   Content-Type: application/json
   User-Agent: azsdk-go-azopenai.Client/v0.4.1 (go1.18.10; Windows_NT)
   --------------------------------------------------------------------------------
   RESPONSE Status: 400 Bad Request
   Access-Control-Allow-Origin: REDACTED
   Alt-Svc: REDACTED
   Cf-Cache-Status: REDACTED
   Cf-Ray: REDACTED
   Content-Length: 404
   Content-Type: application/json
   Date: Mon, 08 Jan 2024 22:55:15 GMT
   Openai-Organization: REDACTED
   Openai-Processing-Ms: REDACTED
   Openai-Version: REDACTED
   Server: cloudflare
   Set-Cookie: REDACTED
   Strict-Transport-Security: REDACTED
   X-Request-Id: REDACTED
   --------------------------------------------------------------------------------
{
  "error": {
    "code": "content_policy_violation",
    "message": "Your request was rejected as a result of our safety system. Image descriptions generated from your prompt may contain text that is not allowed by our safety system. If you believe this was done in error, your request may succeed if retried, or by adjusting your prompt.",
    "param": null,
    "type": "invalid_request_error"
  }
}

   --------------------------------------------------------------------------------

[Jan  8 22:55:15.755305] Retry: response 400
[Jan  8 22:55:15.755305] Retry: exit due to non-retriable status code
    custom_client_image_test.go:79: