Overview
This task involves adding a new field named version to the already existing Embeddings model in Studio. This field will be used to track changes between different versions of the embeddings generated by our recommendation models.
Description and outcomes
- Add the
version field to Embeddings in contentcuration/contentcuration/models.py
version should be a str with a null default value, and also set as a database index
- Run the necessary migration commands
- Add tests that confirm that
version has been added correctly
Acceptance Criteria
version field is added to the Embeddings schema
- Tests are written to verify correctness of added field
Assumptions and Dependencies
Scope
The scope of this task is limited to;
- Adding the “version” field
- Updating existing schema tests
Accessibility Requirements
NA
Resources
Overview
This task involves adding a new field named
versionto the already existing Embeddings model in Studio. This field will be used to track changes between different versions of the embeddings generated by our recommendation models.Description and outcomes
versionfield toEmbeddingsincontentcuration/contentcuration/models.pyversionshould be astrwith anulldefault value, and also set as a database indexversionhas been added correctlyAcceptance Criteria
versionfield is added to theEmbeddingsschemaAssumptions and Dependencies
Scope
The scope of this task is limited to;
Accessibility Requirements
NA
Resources