Clinical Dictation (Live & Paste)
Add Canadian-resident Scribeberry Live medical dictation with Smart cleanup, voice macros, and custom medical dictionaries in Live or Paste delivery mode.
Scribeberry Dictation brings clinical speech-to-text, Smart clinical cleanup, custom medical dictionaries, and clinician voice macros directly into your EHR, pharmacy workflow, or web app.
All dictation runs on Scribeberry Live (Toronto) and Scribeberry Canadian AI engines (Montréal / Québec) with zero audio or text retention.
Live vs. Paste Delivery
Choose the experience that best fits your clinical input surface:
| Mode | Endpoint | Behavior | Best for |
|---|---|---|---|
| Paste (single clip) | POST /api/v1/dictation/transcribe | Upload a recorded clip (up to 30 min) and receive one clean, macro-expanded clinical paragraph. | Hold-to-talk / drop-in paste into EHR boxes with zero cursor jitter. |
| Paste (streaming socket) | WSS /ws/realtime with dictation.delivery: "paste" | Streams audio live as the clinician speaks (zero end-of-clip upload wait), suppresses partial jitter, and emits one polished dictation:result on stop. | Instant hold-to-talk paste for longer dictations. |
| Live (word-by-word) | WSS /ws/realtime with dictation.delivery: "live" | Streams transcript:partial and macro-expanded transcript:final word-by-word, then emits dictation:polished on stop. | Live cursor dictation and real-time guided form filling. |
| Standalone polish | POST /api/v1/dictation/polish | Stateless clinical cleanup + medical dictionary + macro expansion on any text. | Post-edit cleanup or bring-your-own speech recognition. |
1. Paste Mode (Single Audio Clip)
Submit multipart audio, JSON audio_base64, or JSON audio_url (clips up to 30 minutes / 100 MB):
Response
When Scribeberry Live performs Smart cleanup inline and your medical dictionary fits in the session ticket (up to 50 terms), no secondary polish pass is needed (polish_ms: 0, engine: "scribe-live"). If more than 50 custom terms are supplied, Scribeberry automatically runs a Canadian post-polish pass (scribe-swift) to enforce the full dictionary.
2. Live & Paste Dictation over WebSocket (/ws/realtime)
Add the opt-in dictation object to your start.config frame. Dictation sessions automatically use Canadian-resident scribeberry-live speech (existing /ws/realtime callers that omit dictation are completely unaffected).
3. Cleanup Modes & Built-in Spoken Punctuation (English & French)
| Mode | Behavior |
|---|---|
smart (default) | Removes speech fillers ("um", "uh", "euh") and stutters, applies Medical Dictionary spellings, fixes punctuation/capitalization, and converts spoken punctuation & structure commands in English and French without altering clinical meaning or negations. |
verbatim | Preserves every spoken clinical word intact while fixing punctuation, capitalization, Medical Dictionary spellings, and explicit spoken punctuation commands. |
raw | Returns exact speech output (only expands explicit custom macros if provided). |
Built-in spoken commands enabled by default in English (question mark → ?, exclamation mark → !, comma → ,, semicolon → ;, full stop → ., new paragraph, new line, bullet point) and French (point d'interrogation → ?, point d'exclamation → !, virgule → ,, deux points → :, point-virgule → ;, point final → ., nouveau paragraphe, nouvelle ligne, à la ligne, ouvrir la parenthèse / fermer la parenthèse, point puce). Both straight (') and typographic (’) apostrophes match automatically.
French Real-Time Dictation Example (Pathology / LIS)
4. Standalone Polish (POST /api/v1/dictation/polish)
5. Saved Project & Clinician Settings (Macros & Dictionary)
Store a project-wide default or per-clinician dictionary and voice macros once so you never have to resend them on every request. Omitting cleanup_mode or delivery on a request automatically inherits saved clinician overrides first, then project defaults. Clinician updates are sparse: saving only medical_dictionary for an external_user_id preserves the project's default cleanup_mode, delivery, and macros. Voice macro triggers must be at least 2 characters and expand in a single pass.