pediatric-ai-scribe-v3/docs
Daniel af2e09c1de
Some checks failed
Forgejo Android APK / Root app tests (push) Successful in 1m7s
Forgejo Docker Build / Root app tests (push) Successful in 47s
Forgejo Android APK / Build signed APK (push) Successful in 2m16s
Forgejo Docker Build / Build Docker image (push) Successful in 16s
Forgejo Docker Build / Deploy to the host (push) Failing after 0s
feat: a slide can be drawn from primitives when the named layouts have no word for it
The nine layouts are a fixed vocabulary and a good default, but "lay the three
severity levels out left to right with arrows between them" had no expression in
them at all. A "custom" slide now carries a list of shapes: positioned text,
eight autoshape families, lines, images, tables, and native PowerPoint charts —
column, bar, line, pie, doughnut.

Coordinates are percentages of the slide rather than EMU, because a model
reasons about "the left half" and not about 12192000. Shapes draw in array
order, so a later one sits on top.

The model never emits Python. It names shapes and the renderer draws them:
running model-authored code to lay out a slide would be an enormous amount of
trust to buy a feature, on a server holding clinical data and secrets.

Validation lives beside the text that teaches the vocabulary, in one file, so
what the model is told about is exactly what is accepted. Kinds are an
allowlist, colours must be six hex digits, coordinates are clamped inside the
slide — a shape at x=95 w=30 is cut to the edge rather than drawn half off it —
counts are capped, a pie is held to one series, and anything that cannot be
understood is dropped. A custom slide that loses every shape becomes a plain one
rather than a heading over an empty frame, and one bad shape is caught in the
renderer so it cannot cost the slide it sits on.

A figure on a custom slide is requested through an image shape, drawn by the
same path as any other, and attached by job id. Word renders a custom slide as
its words in reading order with its tables and figures — lossy, and better than
dropping the slide.

Verified live end to end: asked to "lay the three severity levels out left to
right as coloured boxes with arrows between them", the model produced
[rect arrow rect arrow rect], chose green/amber/red itself, and the rendered
slide was looked at. A column chart beside its commentary renders with real axes
and gridlines.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU
2026-09-11 22:12:26 +02:00
..
logic simplify speech and embeddings through litellm 2026-05-09 05:09:02 +02:00
ai-providers.md docs refresh current workflows 2026-05-09 00:40:45 +02:00
api-reference.md docs: recording, 24-hour retention, and the STT picker 2026-09-10 16:44:17 +02:00
ARCHITECTURE.md document architecture and harden rendering 2026-05-10 01:07:56 +02:00
architecture.md ci: route Android APK through Forgejo releases 2026-05-11 04:21:15 +02:00
authentication.md docs: accounts in the README, and the sign-in code path is verified end to end 2026-09-11 22:02:25 +02:00
CLINICAL_ASSISTANT.md feat: My Resources has a menu, a library and three downloads 2026-09-11 15:00:19 +02:00
configuration.md docs: My Resources, sign-in codes, invitations, and what the image carries 2026-09-11 20:49:10 +02:00
database.md docs align memory and audio backup behavior 2026-05-08 23:32:39 +02:00
deployment.md feat: Word is built by python-docx from the same typed source as the deck 2026-09-11 21:58:53 +02:00
developer-guide.md feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
DEVELOPMENT.md feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
embeddings-setup.md simplify speech and embeddings through litellm 2026-05-09 05:09:02 +02:00
features-explained.md simplify speech and embeddings through litellm 2026-05-09 05:09:02 +02:00
global-prompt-administration.md fix: reviewer findings — mhchem macro wrapping, regenerate history dedupe, strict safe image allowlist, stale docs 2026-09-08 19:25:31 +02:00
improvements.md docs refresh current workflows 2026-05-09 00:40:45 +02:00
learning-hub.md feat: My Resources has a menu, a library and three downloads 2026-09-11 15:00:19 +02:00
migrations.md docs: rewrite architecture, authentication, configuration, deployment, ai-providers, speech, database, learning-hub, migrations, developer-guide for public audience 2026-04-15 00:26:38 +02:00
mobile-build.md ci: route Android APK through Forgejo releases 2026-05-11 04:21:15 +02:00
MODULE_CONVENTIONS.md document architecture and harden rendering 2026-05-10 01:07:56 +02:00
my-resources.md feat: a slide can be drawn from primitives when the named layouts have no word for it 2026-09-11 22:12:26 +02:00
openid-setup.md feat: ED multi-stage UX, extensions polish, docs viewer + application-logic docs 2026-04-28 03:09:38 +02:00
ops-docs-ped-ai-and-milvus.md docs: Ops Docs page on how Ped-AI and the two Milvus servers work 2026-09-10 18:37:41 +02:00
retrieval-tuning.md docs: My Resources, sign-in codes, invitations, and what the image carries 2026-09-11 20:49:10 +02:00
SCALING.md document architecture and harden rendering 2026-05-10 01:07:56 +02:00
speech.md refactor: one place decides which bucket, on which S3, with which credentials 2026-09-10 17:09:13 +02:00
transcription-options.md docs: recording, 24-hour retention, and the STT picker 2026-09-10 16:44:17 +02:00