-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
whisper openai.AudioRequest.FilePath #265
Labels
enhancement
New feature or request
Comments
mdarc
added a commit
to mdarc/go-openai
that referenced
this issue
May 28, 2023
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i would like to create whisper model transcriptions from audio in a memory-based buffer, ideally of type
[]byte
; whereas currently the only way to identify audio in this sdk is viaopenai.AudioRequest.FilePath
, thus it must be stored in the underlying OS's filesystem.in my current use case, the audio file is already in a
[]byte
buffer, never came from a filesystem in the first place, thus it feels unnecessary and artificial to explicitly store it in a temporary file and thereafter delete it in order to use whisper api via this projects sdk.thanks!
The text was updated successfully, but these errors were encountered: