Components
Version Control
VersionControlWrapper
lets you manage multiple versions of an embedding vector, allowing for commits of new versions and rollbacks to previous versions.
Use it like:
version_control.py
VersionControlWrapper
maintains an internal list of all committed versions, allowing for efficient storage and retrieval of any version.
The rollback functionality allows you to easily switch between different versions of the embedding.
tl;dr of VersionControlWrapper
:
- Tracking the evolution of an embedding vector over time,
- Allowing experimentation with different versions of an embedding,
- Implementing an undo/redo functionality for embedding modifications.
Note that the rollback()
method returns a PyResult, which means it can potentially raise an exception if you try to rollback to a non-existent version.