From 4447749439cebd4fefa5b6fbaab97f284528761b Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 16 Apr 2026 22:07:06 +0200 Subject: [PATCH] Add audio transcription request and response schemas --- backend/schemas.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/backend/schemas.py b/backend/schemas.py index c37a330..8bd66c3 100644 --- a/backend/schemas.py +++ b/backend/schemas.py @@ -78,3 +78,15 @@ class WebSearchResponse(BaseModel): class OllamaPullRequest(BaseModel): model: Optional[str] = None + + +class AudioTranscriptionRequest(BaseModel): + mime_type: str + audio_base64: str + model: Optional[str] = None + + +class AudioTranscriptionResponse(BaseModel): + text: str + language: Optional[str] = None + model: str