Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.medera.info/llms.txt

Use this file to discover all available pages before exploring further.

Interim results stream sub-second previews so the editor can render text as the clinician speaks. Interim text is not stable — only the final result should be persisted.
ws.on('interim', (e) => {
  // e.text is a preview; replace previous interim
  editor.setPreviewText(e.text);
});

ws.on('final', (e) => {
  // commit
  editor.commitText(e.text);
});