这是indexloc提供的服务,不要输入任何密码
Skip to content

[BUG]: OpenAiWhisper always leads a transcribing failure #2617

@fiyen

Description

@fiyen

How are you running AnythingLLM?

Local development

What happened?

Once a Transcription API is set to OpenAiWhisper, transcription result is failure whenever I upload a .mp3 file. I find that the code in line 36 of OpenAiWhisper.js in collector directory is return a result like: content: response. I have referred to the docs in openai.com, the example shows that the text content should extract by using response.text. So I change the code to content: response.text, and my question is solved.

Are there known steps to reproduce?

Just change the transcription API to open whisper and upload a .mp3 file in your workshop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    possible bugBug was reported but is not confirmed or is unable to be replicated.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions