-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Migrate
RemoteWhisperTranscriber
to OpenAI SDK. (#6149)
* Migrate RemoteWhisperTranscriber to OpenAI SDK * Migrate RemoteWhisperTranscriber to OpenAI SDK * Remove unnecessary imports * Add release notes * Fix api_key serialization * Fix linting * Apply suggestions from code review Co-authored-by: ZanSara <[email protected]> * Add additional tests for api_key * Adapt .run() to take ByteStream inputs * Update docstrings * Rework implementation to use io.BytesIO * Update error message * Add default file name --------- Co-authored-by: ZanSara <[email protected]>
- Loading branch information
Showing
3 changed files
with
266 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
releasenotes/notes/migrate-remote-whisper-transcriber-to-openai-sdk-980ae6f54ddfd7df.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
preview: | ||
- | | ||
Migrate RemoteWhisperTranscriber to OpenAI SDK. |
Oops, something went wrong.