Skip to content

Add a new field named "version" to the Embeddings model #4438

@akolson

Description

@akolson

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions