diff --git a/jigsawstack/audio.py b/jigsawstack/audio.py index 22b1f7a..a688f63 100644 --- a/jigsawstack/audio.py +++ b/jigsawstack/audio.py @@ -77,16 +77,11 @@ class SpeechToTextResponse(BaseResponse): the speakers of the transcription, available if by_speaker is set to true """ - language_detected: Optional[str] + language_detected: Optional[Dict[str, Any]] """ the language detected in the transcription, available if language is set to auto """ - confidence: Optional[float] - """ - the confidence of the transcription language detection, available if language is set to auto - """ - class SpeechToTextWebhookResponse(BaseResponse): status: Literal["processing", "error"] diff --git a/jigsawstack/version.py b/jigsawstack/version.py index c9225b9..0f6bc30 100644 --- a/jigsawstack/version.py +++ b/jigsawstack/version.py @@ -1,4 +1,4 @@ -__version__ = "0.4.0" +__version__ = "0.4.1" def get_version() -> str: diff --git a/setup.py b/setup.py index aaa15df..d8949cf 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="jigsawstack", - version="0.4.0", + version="0.4.1", description="JigsawStack - The AI SDK for Python", long_description=open("README.md", encoding="utf8").read(), long_description_content_type="text/markdown",