Structured Output from Unstructured Data
Don't parse strings; extract schemas. Pass a Pydantic model to the summarize endpoint to get validated JSON back—perfect for automating invoice processing or product enrichment.
Type-Safe
Returns data matching your exact Pydantic schema.
Validated
Ensures required fields are present and correctly typed.
Automated
Ideal for piping directly into downstream APIs or databases.
Developer Implementation
bookwyrm summarize data/country-of-the-blind-phrases.jsonl \
--model-class-file data/summary.py \
--model-class-name Summary \
--model-strength smart \
--output data/country-structured-summary.json \
--verbose