How to use Pydantic with Gemma 3N on OpenRouter
We use Gemma 3N 4B model for the task of extracting the NUMDAYS field when both VAX_DATE and ONSET_DATE are specified, but the NUMDAYS field is empty in the VAERS CSV file. The code has some extra steps for caching previous results and validating schema and such, but you should be able to paste this…