You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Mao Jiayi (Jira)" <ji...@apache.org> on 2026/08/19 02:39:00 UTC

[jira] [Created] (FLINK-40416) Add built-in text AI functions to Pipeline transforms

Mao Jiayi created FLINK-40416:
---------------------------------

             Summary: Add built-in text AI functions to Pipeline transforms
                 Key: FLINK-40416
                 URL: https://issues.apache.org/jira/browse/FLINK-40416
             Project: Flink
          Issue Type: New Feature
          Components: Flink CDC
            Reporter: Mao Jiayi


h3. Motivation

Flink CDC Pipeline currently provides generic text completion and embedding functions, but lacks built-in functions for common text analysis tasks.

h3. Scope

* Add AI_CLASSIFY, AI_TRANSLATE, AI_SUMMARIZE, AI_SENTIMENT, AI_EXTRACT, and AI_MASK.
* Define prompt, NULL, invalid JSON response, and model capability semantics.
* Add end-to-end support, tests, and documentation.

h3. Compatibility

The existing AI_COMPLETE and AI_EMBED signatures and return types remain unchanged. This change defines NULL and error behavior and tightens the JSON-output guidance for text generation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)