ย ยทย So far loving FlutterFlow

Send Audio Recording to OpenAI

Resolved

Hi there,

I would like to make use of OpenAI Whisper, but am having some issues with sending the file. Here's what I am trying to do โ€“ can anyone help?

1) Record audio with the "Start/Stop Audio Recording Actions" โ†’ Provides me with an Audio Path to the result

2) Set up API call for OpenAI that requires a file in the message body, so I picked "Uploaded File" as data type.

Now how do I get the file from the audio recording into the API call? I have tried to create an FFUploadedFile based on the bytes I find unter the URL, but this is not resulting in the right response.

So, please: Help! ;-)

Cheers,
Bastian

6
11 replies