Skip to content

Release 16.4.0: add voice transcription#191

Merged
kerbearasaurus merged 6 commits into
mainfrom
fern-bot/2026-06-23_15-05-09_872
Jun 23, 2026
Merged

Release 16.4.0: add voice transcription#191
kerbearasaurus merged 6 commits into
mainfrom
fern-bot/2026-06-23_15-05-09_872

Conversation

@fern-api

@fern-api fern-api Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

16.3.0 -> 16.4.0

Adds the Voice transcription SDK surface for POST /transcribe, including raw audio upload support and typed voice errors. Minor bump because the release is additive.

Added

  • client.voice.voice.transcribe(...) — new sync and async method that accepts raw audio bytes (WAV, FLAC, MP3, OGG/WebM Opus) and returns a TranscribeResponse with the full transcript, supporting up to ~5 minutes of audio per request.
  • RawVoiceClient and AsyncRawVoiceClient — new clients under phenoml.voice.voice exposing transcribe(...) with support for bytes, Iterator[bytes], or AsyncIterator[bytes] input and an optional BCP-47 language hint.
  • phenoml.voice.TranscribeResponse — new response type with a transcript field returned by the transcription endpoint.
  • phenoml.voice.errors — new typed error classes (BadRequestError, UnauthorizedError, PaymentRequiredError, ContentTooLargeError, BadGatewayError, ServiceUnavailableError, GatewayTimeoutError) raised by the voice service.

Migration notes

No migration required; this release only adds the voice transcription surface.


Note

Low Risk
Additive API surface and auto-generated client code; no changes to existing method signatures beyond version metadata.

Overview
Release 16.4.0 bumps the SDK from 16.3.0 and regenerates the Fern Python client against an updated OpenAPI spec (new Voice service, POST /transcribe).

Voice transcription is exposed on client.voice.voice.transcribe(...) (sync/async). Callers send raw audio as application/octet-stream (bytes or byte iterators), with an optional BCP-47 language query hint, and receive TranscribeResponse (transcript). Raw clients map HTTP 400/401/402/413/502/503/504 to typed errors under phenoml.voice.errors. PhenomlClient / AsyncPhenomlClient gain a lazy voice property; docs and code-examples.json include the new endpoint.

Packaging/metadata updates: User-Agent/SDK version strings, bundled openapi.json, changelog, and Fern replay lock. pyproject.toml may still need fern replay resolve if the openapi.json packaging patch conflicts with this generation.

Reviewed by Cursor Bugbot for commit b861c0a. Bugbot is set up for automated code reviews on this repo. Configure here.

fern-api Bot and others added 6 commits June 23, 2026 15:04
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 5.14.13
…hir2omop/agent docs

Introduce a new `voice` namespace with a `transcribe` method that accepts
raw audio bytes and returns a `TranscribeResponse` containing the full
transcript. The endpoint auto-detects audio format (WAV, FLAC, MP3,
OGG/WebM Opus) and supports up to ~5 minutes of audio per request.

Also updates OpenAPI descriptions for `fhir2omop` (explicit supported
resource-type list and clarified `dropped` semantics) and `agent.chat`
session parameters (409 Conflict documented for overlapping turns).

Key changes:
- Add `client.voice.voice.transcribe(...)` and `client.voice.voice.transcribe(...)` (async) for audio-to-text transcription
- Add `phenoml.voice.TranscribeResponse` response type with `transcript` field
- Add `phenoml.voice.errors` module with `BadGatewayError`, `BadRequestError`, `ContentTooLargeError`, `GatewayTimeoutError`, `PaymentRequiredError`, `ServiceUnavailableError`, and `UnauthorizedError`
- Update `fhir2omop` OpenAPI description to enumerate supported FHIR resource types and clarify `dropped` field semantics
- Update `agent.chat` `session_id` description to document 409 Conflict for concurrent turns

🌿 Generated with Fern
Patches with unresolved conflicts (1):
  - patch-6516695e: Release 15.0.2: restore bundled openapi.json packaging (#169)
    Run `fern-replay resolve` to apply these customizations.
Patches replayed:
  - patch-6516695e: Release 15.0.2: restore bundled openapi.json packaging (#169)
@kerbearasaurus kerbearasaurus changed the title feat: add voice transcription service and update fhir2omop/agent docs Release 16.4.0: add voice transcription Jun 23, 2026
@kerbearasaurus kerbearasaurus merged commit f530064 into main Jun 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant