Data models and validation for NucliaDB, the AI-powered search database. Version 6.13.0.post6240 supports Python 3.10-3.12. Released as part of the nucliadb project, with frequent releases following nucliadb's release cadence.
pip install nucliadb-modelsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a NucliaDB resource model and serialize to JSON.
Use `from nucliadb_models import ...` instead of `from nucliadb.models import ...`
Replace `from nucliadb_models.field import Field` with specific field imports like `from nucliadb_models.text import TextField`
Use `model_extra = 'allow'` in config if you need to allow extra fields.