October 27, 2026 · Google CloudAnnouncement
AlloyDB AI adds ai.extract and ai.classify in Preview, renames function parameters
The following AlloyDB AI functions and improvements are available in Preview:
The
ai.extractfunction lets you extract structured data from unstructured text directly within your database queries without needing external extraction pipelines. For more information, see Extract structured data.The
ai.classifyfunction lets you categorize unstructured text into predefined labels directly within your database queries. For more information, see Classify text.Parameter names and signatures for AI query engine functions (
ai.analyze_sentiment,ai.summarize, andai.agg_summarize) are updated. For more information, see Model endpoint reference.The
promptandpromptsparameters are renamed toinputandinputsin scalar and batch functions respectively.An optional
additional_instructionsparameter is added toai.summarizeandai.agg_summarizeto provide custom instructions to guide summary formatting, length, and tone.In cursor-based versions of
ai.analyze_sentimentandai.summarize, thepromptparameter is removed.ai.agg_summarizesupports multiple positional signatures, including passing optional additional instructions and specifying model IDs.
Text from the Google Cloud release notes, licensed under CC BY 4.0. Source: Google Cloud release notes.