Skip to content

Diary Entries

🤖 AI Drafted (Not reviewed)

Transcribe each diary page (reusing any existing text layer), then split every page into per-day entry nodes: one child per dated entry, carrying a date attribute (diary_entry document type, date role) and the day’s bounding box on the page. The entries render immediately in the library’s Data view — timeline and calendar. Pages with several dates become several entries; a page that IS one day’s entry becomes one. Unreadable dates are kept as undated entries named by the date text on the page, never guessed. The splitter uses the $small model alias — set your default small model in Settings → AI Defaults.

Folder /Extract
Steps 3
Tags preset, diary, dates, timeline, small

Steps, in run order

1. Files

Tool: Files — Pass through input files from workflow context

2. Transcribe each page

Tool: Transcribe — Extract text from images (OCR)

Settings this step uses:

Option Value
language auto
update_page_content yes
vision_mode auto

What this step asks the model:

Transcribe the text visible on this image.

Language: transcribe in the language of the source. Do not translate, and do not assume the document is in English.

Rules:
- Output ONLY the transcription. No headings, no preamble, no commentary,
  no summary, no notes, no explanations, no observations about quality or
  legibility, no descriptions of seals or images, no language about the
  difficulty of the handwriting.
- Preserve original layout, line breaks, and paragraph structure.
- Preserve original spelling and capitalisation, including ALL CAPS
  headers if they appear that way.
- Preserve orthography exactly as written, including all diacritics
  and accent marks (e.g., keep "Chocó" as "Chocó", never "Choco";
  keep "Ramón" as "Ramón", never "Ramon").
- Do not strip accents, tildes, cedillas, or umlauts. If a mark is
  visible, keep it.
- Include every visible text element — headers, body, marginalia, stamps,
  signatures (transcribe the signed name as written), printed labels,
  handwritten annotations.
- For text you cannot confidently read, use explicit uncertainty markers:
  [ilegible] for unreadable text and [uncertain] for plausible-but-low-
  confidence readings. Place the marker inline at the uncertain span.
  Do not guess. Do not fill in.
- Do NOT invent dates, numbers, names, or words that are not legibly
  present. Do not normalise dates ("23/7/1999" stays "23/7/1999", not
  "1999-07-23").
- Do NOT repeat any portion of the transcription. Output each visible
  passage exactly once.
- If the image contains no legible text, output the single token
  [sin texto].

3. Split Diary Entries

Tool: Split Diary Entries — Split each page’s transcript into per-day entry nodes with a date attribute and the day’s bounding box — the timeline/calendar feed

Settings this step uses:

Option Value
prototype_key diary_entry
provider_name $small