Connect to the database that is using this feature and execute DROP EXTENSION.
rag_databse=# DROP EXTENSION pgx_vectorizer; DROP EXTENSION
As a superuser, execute the following command to remove pgai. "<x>" indicates the product version.
$ su - # rm /opt/fsepv<x>server64/<Files copied during setup>
Information
The files copied during setup can be checked below.
# find /opt/fsepv<x>server64/OSS/pgai-extension
As a superuser, execute the following command to reset the plpython3u configuration to the state it was in immediately after the server feature was installed. "<x>" indicates the product version.
$ su - # cp /opt/fsepv<x>server64/OSS/pgai-extension/lib/plpython3.9.so /opt/fsepv<x>server64/lib/plpython3.so