MODULE 08
Processing many records reliably
7 submodules. Work through them in order; each one includes guided practice.
8.2Find and combine files with source references
- File paths and storage locations
- Listing files and building a manifest
- Combining files with source names
8.3Record a per-file failure
- Per-file errors and an outcome log
- Reruns and duplicate files
- Excel and PDF files in bulk
- Folder-processing task and check
8.4Make a checked request for each eligible record
- Looping over records
- Prompt rules and output schemas
- Repeated calls and consistency
- Collecting results into a table
- Exercise: classify an expense batch
- Check your understanding
8.5Distinguish a temporary request failure from uncertain evidence
- Safe reruns with a completion log
- Catching errors with try/except
- Retrying with a fixed limit
- Retries with a fixed limit
- Checking each answer
- Fingerprints and source versions
- Chapter exercise: failure and rerun
- Check your understanding
8.6Save enough evidence to resume
- Pipelines and checkpoints
8.7Estimate API and review effort together
- Estimating API and review cost
- API budgets and pilot runs
8.8Use asynchronous processing when the work can wait
- Provider batch APIs