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, andai.generateon 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_sentimentfunction 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.
Related updates
AlloyDB AI adds ai.extract and ai.classify in Preview, renames function parameters
AlloyDB adds Iceberg access in Preview and BigQuery sync generally available
AlloyDB ai.tune_sql recommends query optimizations using an LLM, in Preview
AlloyDB ScaNN four-level tree indexes GA, supporting up to 10 billion vector rows
BigQuery AI.AGG generally available, gemini-4-argon supported in generative AI functions