docs(pulse-stt): rename SDK response field transcription → text#128
docs(pulse-stt): rename SDK response field transcription → text#128abhishekmishragithub wants to merge 1 commit into
transcription → text#128Conversation
Server keeps returning `transcription` over the wire. The rename applies only to generated SDKs (Python, JS/TS, Go) via Fern's `x-fern-property-name` extension on the 200 response schema in `fern/apis/waves/openapi/pulse-stt-openapi-overrides.yaml`. The v4 docs render is unchanged — the API reference still shows `transcription` in the response example, which is what the server actually emits. Updated two doc samples that demonstrate the SDK Python client (`smallestai.waves.WavesClient`); raw HTTP samples (`requests` / `fetch`) keep `transcription` since they read the wire format. Breaking for SDK callers — changelog entry added. Will ship with the next coordinated SDK release alongside the other staged breaking renames (task #40). Files: - spec override: x-fern-property-name on transcription - benchmarks/evaluation-walkthrough.mdx (+ versions/ mirror) - pre-recorded/code-examples.mdx (+ versions/ mirror) - changelog: 2026-05-07-pulse-stt-sdk-text-rename.mdx
EntelligenceAI PR SummaryRenames the Pulse STT SDK response accessor from
Confidence Score: 5/5 - Safe to MergeSafe to merge — this PR is a documentation and SDK configuration change that renames the Pulse STT response accessor from Key Findings:
Files requiring special attention
|
Summary
x-fern-property-name. Wire format is unchanged — server keeps emittingtranscription, only generated SDKs expose.text.experimental_transcribeshape ({ text, segments, durationInSeconds }).Why now (closes task #39 + #40 docs-side)
Scope (kept tight)
fern/apis/waves/openapi/pulse-stt-openapi-overrides.yaml— addsx-fern-property-name: textontranscription.transcriptionin the response (matches HTTP wire reality, verified on preview).speech-to-text/benchmarks/evaluation-walkthrough.mdx(+ versions/ mirror) —response.textspeech-to-text/pre-recorded/code-examples.mdx(+ versions/ mirror) —response.get('text', ...)requests.post(...).json()["transcription"]anddata.transcriptionafterfetch()stays as-is.2026-05-07-pulse-stt-sdk-text-rename.mdxflagging the BREAKING SDK change.Verification
fern check— 0 errorspython3 scripts/spec-live-tests/spec_drift_check.py— 0 driftpython3 scripts/spec-live-tests/v4_mirror_check.py— pages/ ↔ versions/ in synctranscriptionover HTTP (wire format preserved)transcription(24 mentions); SDK sample pages showresponse.text; the<Note>warning callers about the SDK transition still renders.Handoff for SDK release (#40)
After merge, the SDK team can regenerate Python + JS/TS SDKs:
result.transcription→result.text(this PR)asr_*,lightning_large_*,lightning_v2_*) drop out naturally because the underlying spec was deleted in chore(docs): chuck legacy lightning-asr WebSocket reference #110/chore(docs): chuck legacy Lightning STT + lightning-large TTS orphans #112/chore(docs): mark Lightning v2 as deprecated across docs #1132026-05-07-pulse-stt-sdk-text-rename.mdxVercel SDK is unaffected.