Skip to content

Commit 83346f4

Browse files
fix: stt output structure
1 parent 92f18f1 commit 83346f4

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

jigsawstack/audio.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,11 @@ class SpeechToTextResponse(BaseResponse):
7777
the speakers of the transcription, available if by_speaker is set to true
7878
"""
7979

80-
language_detected: Optional[str]
80+
language_detected: Optional[Dict[str, Any]]
8181
"""
8282
the language detected in the transcription, available if language is set to auto
8383
"""
8484

85-
confidence: Optional[float]
86-
"""
87-
the confidence of the transcription language detection, available if language is set to auto
88-
"""
89-
9085

9186
class SpeechToTextWebhookResponse(BaseResponse):
9287
status: Literal["processing", "error"]

0 commit comments

Comments
 (0)