Skip to content

Commit a58b69f

Browse files
Merge pull request #78 from JigsawStack/fix/stt-output
Fix/stt output
2 parents 92f18f1 + 00b7897 commit a58b69f

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

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"]

jigsawstack/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.4.0"
1+
__version__ = "0.4.1"
22

33

44
def get_version() -> str:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="jigsawstack",
9-
version="0.4.0",
9+
version="0.4.1",
1010
description="JigsawStack - The AI SDK for Python",
1111
long_description=open("README.md", encoding="utf8").read(),
1212
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)