generate_models command to auto-generate pydantic models from your document type configuration.
Pydantic models
For example, this will generate pydantic models for your workspace: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: