Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Due to this error, Processing Unit endpoints to create, list or delete units won't be loaded therefore not available and will return a not found error code when trying calling those endpoints.


4. New Bert Model handling on the Python-Bridge

To tackle vulnerabilities regarding old python libraries, we did an update on all the requirements for executing the SAGA Python Bridge, one of this changes affects directly how the BERT models work, we had to change the way the wrappers for these BERT models calculate and extract vectors from text. This change is a breaking change because this makes ALL the vectors from the old models USELESS, the reason is that the vectors are now calculated different from the old versions and they will not behave the same when using the new Python Bridge.

The solution could be as easy as just re-calculating all the vectors using SAGA (all the recognizers that use vectors have the button "recalculate" in order to send the entries to the Python-Bridge and store new calculated vectors) or very difficult and time-consuming like if you have the vectors stored in an outside source from SAGA, you would need to re-calculate all the vectors "manually" and then replace all the old vectors in order to use them with the new BERT models.