This release contains a major breaking change. The vectorizer code has been
removed from the extension and put into the pgai python
library. We did this to allow the vectorizer
functionality to be used on more PostgreSQL cloud providers (AWS RDS, Supabase,
etc.)
We made this change in a way that will allow current users of the vectorizer to
continue using the feature without interruption, but they will have to modify how they
upgrade vectorizer functionality in the future.
Upgrading vectorizer functionality to 0.10.0:
- Run
ALTER EXTENSION ai UPDATE TO '0.10.0'
to detach the vectorizer catalog tables and functions from the extension. This leaves them in your database in the ai schema, and the vectorizer will continue to work. - You can then manage them from the python library or cli by upgrading the vectorizer with
pgai install -d DB_URL
as described in the new python-library-based workflow. - If you don't use the model calling capabilities of pgai, you can then remove the pgai extension from your database.
New features and improvements
Split extension into an extension and a library package (#580) (3fe83c6)
Fixes
fix: send top level destination fields in updateembeddings request (#629) (ee4f383)
chore: update anthropic and openai libraries in extension (#595) (d31ef9c)