Commit graph

4 commits

Author SHA1 Message Date
lila
37c978e230 implementing phase 3 pipeline: gemini structured output, validation, sqlite staging
Prompt is now a template (fixes the hardcoded en/es leftovers in rules
2, 3, 15, 16, 26, 31). pipeline.ts replaces the pseudocode: wordlist
normalization, skip-already-staged idempotency, batches of 20 against
gemini-3.6-flash with responseSchema, raw responses persisted per batch,
per-entry validation with rejection log, one transaction per word into
db/staging.db. Flags: --langs --pos --max-batches --delay-ms --dry-run.

Smoke run: 40/40 words staged (de+es, one batch each), 0 rejections.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 19:04:04 +02:00
lila
e4a12c5ff0 updating prompt 2026-07-24 13:45:32 +02:00
lila
4acbbe1929 updating prompt 2026-07-24 13:26:33 +02:00
lila
5eda891fb5 adding prompt to query the language data 2026-07-23 20:03:31 +02:00