feat: Add Whisper transcription client

Introduces a new module for interacting with the Whisper ASR service.
This includes
an async function to POST audio files and retrieve transcripts. Error
handling
for network and HTTP status codes is also implemented.

New tests are added to cover successful transcription, HTTP error
responses,
and request timeouts.
This commit is contained in:
2026-04-13 16:40:20 +02:00
parent 73692b0a02
commit 84f8df2bf4
3 changed files with 147 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
pub mod ffmpeg;
pub mod whisper;