Google has added two preview SQL functions to AlloyDB AI for classifying text and extracting structured data.
The ai.classify and ai.extract functions run inside the database using standard SQL, on PostgreSQL 18 with google_ml_integration version 1.6.1 or later.