How to get / change the style of response from OpenAI Whisper API

Hello there, newbie question here,

I want to create an app using Whisper. Normally you can add the {“role”: “system”, “content”: “You are a helpful assistant.”} in the json field but since there is no json field when using multipart/form-data, this is not possible here right?

So my question is, how can I get or change the response from openai when using Whisper? For example change the role, the style of response (length, style, list etc).

Thanks!

Build two api calls. Once you get the text from audio you can use it subsequently in your chat api call.

1 Like

Thanks for your reply Carlos.

Do I do this with backend workflow? I just watched a video and the guy was explaining that he used backend workflow. But the video was about something totally different I guess.

I searched the forum but can’t find another topic about this. Thanks in advance!

Update: Okay now I got it haha, it’s literally described in your answer how to do it.

Thanks!

1 Like