Generate structured outputs using Pydantic models from your document types and ensure type-safe validation of Affinda API responses.
generate_models
command to auto-generate pydantic models from your document type configuration.
AFFINDA_API_KEY
environment variable set.
The generated pydantic model(s) will be in ./affinda_models
by default.
For the list of options available, run: