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)

Reply via email to