Skip to content
Back to feed

November 9, 2026 · Google CloudFeature

AlloyDB smart batching for AI functions and ai.analyze_sentiment generally available

The following AlloyDB AI features and improvements are generally available (GA):

  • Smart batching for AI functions: AI function acceleration is generally available for ai.if, ai.rank, ai.analyze_sentiment, ai.summarize, ai.extract, ai.classify, and ai.generate on AlloyDB clusters running PostgreSQL 17 and later. Smart batching automatically batches and offloads eligible AI operations for asynchronous evaluation. It improves query execution speed without requiring you to rewrite queries into complex array structures. In PostgreSQL 18 and later, this feature is enabled by default. For more information, see Accelerate performance for queries with AI functions.

  • Sentiment analysis: the ai.analyze_sentiment function is generally available on AlloyDB clusters running PostgreSQL 17 and later. This built-in function classifies the sentiment of text as positive, negative, or neutral directly within SQL queries in real time. For more information, see Analyze text sentiment.

Text from the Google Cloud release notes, licensed under CC BY 4.0. Source: Google Cloud release notes.

All AlloyDB for PostgreSQL changes