Skip to content

azopenai for audio not support m4a #22195

Closed
@hungpham1309

Description

@hungpham1309

Bug Report

  • What happened?
    the current lib only support mp3 file, not m4a
    this is the code
    args := newTranscriptionOptions(azopenai.AudioTranscriptionFormatVerboseJSON, WHISPER, buf.Bytes())
    transcriptResp, err := u.OpenApiClient.GetAudioTranscription(context.Background(), args, nil)

  • What did you expect or want to happen?
    Should work normal for m4a

  • How can we reproduce it?
    /github.com/Azure/azure-sdk-for-go/sdk/ai/azopenai/custom_client_audio.go is hardcode .mp3

  • Anything we should know about your environment.

Metadata

Metadata

Labels

OpenAIcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions