Built-in AI/ML Functions with Confluent Cloud for Apache Flink

Confluent Cloud for Apache Flink® provides built-in functions that run AI/ML inference directly in Flink SQL, without separate model-serving infrastructure.

Built-in functions support these AI/ML tasks:

The following functions are available for building AI/ML workflows.

  • AI_COMPLETE: Generate text completions.

  • AI_DETECT_PII: Detect and redact personally identifiable information (PII) in text.

  • AI_EMBEDDING: Create embeddings.

  • AI_FORECAST: Forecast future values in time-series data using foundation models.

  • AI_SENTIMENT: Analyze sentiment toward specific aspects in text using aspect-based sentiment analysis.

  • AI_TOOL_INVOKE: Invoke MCP tools.

  • ML_DETECT_ANOMALIES: Detect anomalies in your data.

  • ML_EVALUATE: Evaluate the performance of an AI/ML model.

  • ML_PREDICT: Run a remote AI/ML model for tasks like predicting outcomes, generating text, and classification.

Confluent Cloud for Apache Flink has many other functions for building AI/ML workflows.