From 62e492eefe72cf94b534a1a786d4e0b05cbd04d9 Mon Sep 17 00:00:00 2001 From: Khurdhula-Harshavardhan Date: Tue, 17 Feb 2026 18:25:45 -0800 Subject: [PATCH 1/2] fix: udpate v1/ai/transcribe response schema --- jigsawstack/audio.py | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/jigsawstack/audio.py b/jigsawstack/audio.py index a688f63..e1bd74f 100644 --- a/jigsawstack/audio.py +++ b/jigsawstack/audio.py @@ -50,15 +50,10 @@ class SpeechToTextParams(TypedDict): """ -class ChunkParams(TypedDict): +class ChunkResponse(TypedDict): text: str timestamp: tuple[int, int] - - -class BySpeakerParams(ChunkParams): - speaker: str - timestamp: tuple[int, int] - text: str + speaker: Optional[str] class SpeechToTextResponse(BaseResponse): @@ -67,16 +62,11 @@ class SpeechToTextResponse(BaseResponse): the text of the transcription """ - chunks: List[ChunkParams] + chunks: List[ChunkResponse] """ the chunks of the transcription """ - speakers: Optional[List[BySpeakerParams]] - """ - the speakers of the transcription, available if by_speaker is set to true - """ - language_detected: Optional[Dict[str, Any]] """ the language detected in the transcription, available if language is set to auto From 90a9e564dc6778bd15501f1e0459f3c4c8174f98 Mon Sep 17 00:00:00 2001 From: Khurdhula-Harshavardhan Date: Tue, 17 Feb 2026 18:26:45 -0800 Subject: [PATCH 2/2] chore: version upgrade --- jigsawstack/version.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jigsawstack/version.py b/jigsawstack/version.py index 28babde..c3936a8 100644 --- a/jigsawstack/version.py +++ b/jigsawstack/version.py @@ -1,4 +1,4 @@ -__version__ = "0.4.2" +__version__ = "0.4.3" def get_version() -> str: diff --git a/setup.py b/setup.py index 91e34b0..03586ca 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="jigsawstack", - version="0.4.2", + version="0.4.3", description="JigsawStack - The AI SDK for Python", long_description=open("README.md", encoding="utf8").read(), long_description_content_type="text/markdown",