Jun 02, 2025: Snowflake Cortex AI Functions (Preview)

AI 能力满足 SQL 操作人员对多模态数据的需求

Snowflake announces the preview of Cortex AI Functions, bringing powerful AI capabilities directly into Snowflake's SQL engine. AI Functions help you build scalable AI pipelines across multimodal enterprise data with familiar SQL commands. You can now process text and images faster and more cost effectively while gaining deeper insights from structured and unstructured data.

The available Cortex AI Functions include:

  • AI_FILTER:根据文本或图像输入,评估一个用纯语言表述的“是”或“否”问题,允许您在 SELECT、WHERE 和 JOIN 子句中使用 AI 功能筛选结果。

  • AI_CLASSIFY:根据纯语言类别定义,将文本或图像输入分类为单个或多个用户定义的类别。

  • AI_AGG:聚合文本列,并根据用户定义的提示返回跨多行的洞察。此函数不受上下文窗口限制。

  • AI_SUMMARIZE_AGG:聚合文本列并返回跨多行的摘要。此函数不受上下文窗口限制。

  • AI_SIMILARITY:计算两项输入之间的嵌入相似度,而不需要显式创建嵌入向量。

  • AI_COMPLETE:使用多个可用 LLMs 之一,为给定文本字符串或图像生成补全。将此函数用于其他函数未涵盖的生成式 AI 任务。

Key benefits of Cortex AI Functions include:

  • 富有表达力、可组合的 AI 运算符:一套全新的 AI 驱动型运算符可与熟悉的 SQL 原语(如 FILTER 和 AGGREGATE)无缝集成,从而实现更直观、更强大的数据操作。

  • 简化的 AI 管道:使用标准 SQL,以更轻松、更高效的方式构建先进的多步骤 AI 管道。

  • 统一分析所有数据:在同一个 SQL 查询中对结构化和非结构化数据进行分析,打破数据孤岛。

  • Native Multimodal Data Support: Cortex AI Functions are designed to work fluidly across diverse modalities, eliminating the need for separate processing systems for text and image data.

  • 性能增强:提高了 Snowflake 内部查询引擎的性能和可扩展性。

To get started, see Cortex AI Functions.

语言: 中文