Extract stage: vision title + edition-cue extraction, offline-tested
Per-photo raw results cached under data/extract_raw/ (gitignored) so re-runs are free, --only re-extracts a single photo, and titles.json is rebuilt with dedupe that keeps conflicting-edition sightings separate. HEIC converts via pillow-heif; images downscale to <=1568px long edge; model JSON parsed defensively (code fences, surrounding prose). Vision callable is injectable — tests use a local fake; the real one uses the anthropic SDK (approved) with the model from config.toml. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,7 @@ storage_state.json
|
||||
# Local inputs & cache (CSV/JSON artifacts in data/ ARE committed)
|
||||
photos/
|
||||
data/bgg_cache/
|
||||
data/extract_raw/
|
||||
|
||||
# Python
|
||||
__pycache__/
|
||||
|
||||
Reference in New Issue
Block a user