AI/ML Functions

Unleash intelligent real-time AI by unifying AI/ML with data processing in Flink. Perform model inference, vector embedding, anomaly detection, forecasting, and more directly on data streams.

AI/ML Functions product page - hero

Accelerate time to ROI

Use your model of choice

Zero AI/ML expertise required

What Are AI/ML Functions?

AI/ML Functions are fully managed, built-in capabilities in Confluent Intelligence that let you run AI and machine learning tasks directly on streaming data with Flink SQL. From model inference and generating embeddings to anomaly detection, they help teams turn live data into real-time predictions, decisions, and action – without stitching together separate data and AI infrastructure.

✔ Real-time model inference using LLMs of your choice
✔ Continuously updated vector embeddings for your vector databases
✔ Easy ML for instant insights
✔ Ideal for building first AI use case and triggering agentic workflows


AI/ML Functions product page - banner thumbnail AI Day Toronto

Join AI Day in Toronto

MAY 26 – Learn, build, and hack at AI Day Toronto! Master context engineering, MCP, Flink and more to bring your AI agents and apps to life.

Real-Time AI/ML Use Cases

AI-powered data enrichment

Enrich data with AI-generated insights and summaries, and context in real time.

Retrieval-augmented generation (RAG)

Generate vector embeddings for RAG to ground AI responses so outputs are relevant, accurate, and free of hallucinations.

Event-driven Streaming Agents

Build agents that observe live business signals, call LLMs to reason in real time, and take action as events happen.

GenAI applications

Power real-time GenAI applications with the streaming data and inference they need to deliver value.

Anomaly and fraud detection

Detect unusual patterns and suspicious activity in real time so teams can respond faster and reduce risk.

Sentiment analysis

Understand customer sentiment from live text streams to improve service, engagement, and decision-making.

Forecasting

Predict demand, trends, and outcomes like continuously using live data instead of stale batch snapshots.

PII detection and redaction

Detect PII in data streams and flag or redact it in real time to protect privacy and ensure compliance.

AI/ML Functions product page - quickstart thumbnail

Get started and launch ML in minutes by using the step-by-step Quickstart.

Remote AI Model Inference

Connect to external AI/ML models – from OpenAI and AWS Bedrock to Vertex AI, Azure AI, Anthropic, and Fireworks AI – and run inference directly in Flink SQL on live data streams. This lets you add real-time predictions, reasoning, and RAG to your applications without stitching together separate AI and data processing infrastructure. View docs >

Built-in AI/ML Functions

Turn AI/ML use cases and complex data science tasks into simple Flink SQL functions for anomaly detection (ARIM), forecasting (TimesFM), sentiment analysis, PII detection and redaction. Teams can move from raw data to real-time intelligence faster, with no ML model building or deep data science expertise required. View docs >

Preprocessing Functions

Prepare streaming data for better downstream results with built-in preprocessing functions such as bucketizing, normalization, and text splitting. By transforming features into model-ready representations directly in Flink, you can improve data quality and reduce extra preprocessing work outside the pipeline. View docs >

Get Started with AI/ML Functions

Ready to build real-time AI? Sign up and receive $400 to spend during your first 30 days.

Use your model of choice, apply built-in functions, and move from raw data to production use cases faster.

  • ✔ Use external, hosted, or custom models for real-time inference on streaming data
  • ✔ Turn complex AI/ML tasks into simple Flink SQL functions for faster time to value
  • ✔ Reduce complexity and infrastructure overhead with a unified platform for data and AI workflows

Confluent Cloud

A fully managed, cloud-native service for Apache Kafka®

For personalized technical assistance from a Confluent expert, please enter a business email.
Country
  • Country
  • Afghanistan
  • Åland Islands
  • Albania
  • Algeria
  • American Samoa
  • Andorra
  • Angola
  • Anguilla
  • Antarctica
  • Antigua and Barbuda
  • Argentina
  • Armenia
  • Aruba
  • Australia
  • Austria
  • Azerbaijan
  • Bahamas
  • Bahrain
  • Bangladesh
  • Barbados
  • Belgium
  • Belize
  • Benin
  • Bermuda
  • Bhutan
  • Bolivia
  • Bonaire, Sint Eustatius and Saba
  • Bosnia and Herzegovina
  • Botswana
  • Bouvet Island
  • Brazil
  • British Indian Ocean Territory
  • Brunei Darussalam
  • Bulgaria
  • Burkina Faso
  • Burundi
  • Cambodia
  • Cameroon
  • Canada
  • Cape Verde
  • Cayman Islands
  • Central African Republic
  • Chad
  • Chile
  • China
  • Christmas Island
  • Cocos (Keeling) Islands
  • Colombia
  • Comoros
  • Congo
  • Congo, the Democratic Republic of the
  • Cook Islands
  • Costa Rica
  • Cote D'Ivoire
  • Croatia
  • Curaçao
  • Cyprus
  • Czech Republic
  • Denmark
  • Djibouti
  • Dominica
  • Dominican Republic
  • Ecuador
  • Egypt
  • El Salvador
  • Equatorial Guinea
  • Eritrea
  • Estonia
  • Eswatini
  • Ethiopia
  • Falkland Islands (Malvinas)
  • Faroe Islands
  • Fiji
  • Finland
  • France
  • French Guiana
  • French Polynesia
  • French Southern Territories
  • Gabon
  • Gambia
  • Georgia
  • Germany
  • Ghana
  • Gibraltar
  • Greece
  • Greenland
  • Grenada
  • Guadeloupe
  • Guam
  • Guatemala
  • Guernsey
  • Guinea
  • Guinea-Bissau
  • Guyana
  • Haiti
  • Heard Island and McDonald Islands
  • Holy See (Vatican City State)
  • Honduras
  • Hong Kong
  • Hungary
  • Iceland
  • India
  • Indonesia
  • Iraq
  • Ireland
  • Isle of Man
  • Israel
  • Italy
  • Jamaica
  • Japan
  • Jersey
  • Jordan
  • Kazakhstan
  • Kenya
  • Kiribati
  • Kuwait
  • Kyrgyzstan
  • Lao People's Democratic Republic
  • Latvia
  • Lebanon
  • Lesotho
  • Liberia
  • Libya
  • Liechtenstein
  • Lithuania
  • Luxembourg
  • Macao
  • Madagascar
  • Malawi
  • Malaysia
  • Maldives
  • Mali
  • Malta
  • Marshall Islands
  • Martinique
  • Mauritania
  • Mauritius
  • Mayotte
  • Mexico
  • Micronesia, Federated States of
  • Moldova, Republic of
  • Monaco
  • Mongolia
  • Montenegro
  • Montserrat
  • Morocco
  • Mozambique
  • Myanmar
  • Namibia
  • Nauru
  • Nepal
  • Netherlands
  • New Caledonia
  • New Zealand
  • Nicaragua
  • Niger
  • Nigeria
  • Niue
  • Norfolk Island
  • North Macedonia, Republic of
  • Northern Mariana Islands
  • Norway
  • Oman
  • Pakistan
  • Palau
  • Panama
  • Papua New Guinea
  • Paraguay
  • Peru
  • Philippines
  • Pitcairn
  • Poland
  • Portugal
  • Puerto Rico
  • Qatar
  • Reunion
  • Romania
  • Rwanda
  • Saint Barthélemy
  • Saint Helena
  • Saint Kitts and Nevis
  • Saint Lucia
  • Saint Martin (French part)
  • Saint Pierre and Miquelon
  • Saint Vincent and the Grenadines
  • Samoa
  • San Marino
  • Sao Tome and Principe
  • Saudi Arabia
  • Senegal
  • Serbia
  • Seychelles
  • Sierra Leone
  • Singapore
  • Sint Maarten (Dutch part)
  • Slovakia
  • Slovenia
  • Solomon Islands
  • Somalia
  • South Africa
  • South Georgia and the South Sandwich Islands
  • South Korea
  • South Sudan
  • Spain
  • Sri Lanka
  • State of Palestine
  • Suriname
  • Svalbard and Jan Mayen
  • Sweden
  • Switzerland
  • Taiwan
  • Tajikistan
  • Tanzania, United Republic of
  • Thailand
  • Timor-Leste
  • Togo
  • Tokelau
  • Tonga
  • Trinidad and Tobago
  • Tunisia
  • Turkey
  • Turkmenistan
  • Turks and Caicos Islands
  • Tuvalu
  • Uganda
  • Ukraine
  • United Arab Emirates
  • United Kingdom
  • United States Minor Outlying Islands
  • United States of America
  • Uruguay
  • Uzbekistan
  • Vanuatu
  • Venezuela
  • Vietnam
  • Virgin Islands, British
  • Virgin Islands, U.S.
  • Wallis and Futuna
  • Western Sahara
  • Yemen
  • Zambia
  • Zimbabwe

I have an account. Log-In

By clicking “START FREE”, you agree to the Terms of Service and Privacy Policy.

For personalized technical assistance from a Confluent expert, please enter a business email.
Country
  • Country
  • Afghanistan
  • Åland Islands
  • Albania
  • Algeria
  • American Samoa
  • Andorra
  • Angola
  • Anguilla
  • Antarctica
  • Antigua and Barbuda
  • Argentina
  • Armenia
  • Aruba
  • Australia
  • Austria
  • Azerbaijan
  • Bahamas
  • Bahrain
  • Bangladesh
  • Barbados
  • Belgium
  • Belize
  • Benin
  • Bermuda
  • Bhutan
  • Bolivia
  • Bonaire, Sint Eustatius and Saba
  • Bosnia and Herzegovina
  • Botswana
  • Bouvet Island
  • Brazil
  • British Indian Ocean Territory
  • Brunei Darussalam
  • Bulgaria
  • Burkina Faso
  • Burundi
  • Cambodia
  • Cameroon
  • Canada
  • Cape Verde
  • Cayman Islands
  • Central African Republic
  • Chad
  • Chile
  • China
  • Christmas Island
  • Cocos (Keeling) Islands
  • Colombia
  • Comoros
  • Congo
  • Congo, the Democratic Republic of the
  • Cook Islands
  • Costa Rica
  • Cote D'Ivoire
  • Croatia
  • Curaçao
  • Cyprus
  • Czech Republic
  • Denmark
  • Djibouti
  • Dominica
  • Dominican Republic
  • Ecuador
  • Egypt
  • El Salvador
  • Equatorial Guinea
  • Eritrea
  • Estonia
  • Eswatini
  • Ethiopia
  • Falkland Islands (Malvinas)
  • Faroe Islands
  • Fiji
  • Finland
  • France
  • French Guiana
  • French Polynesia
  • French Southern Territories
  • Gabon
  • Gambia
  • Georgia
  • Germany
  • Ghana
  • Gibraltar
  • Greece
  • Greenland
  • Grenada
  • Guadeloupe
  • Guam
  • Guatemala
  • Guernsey
  • Guinea
  • Guinea-Bissau
  • Guyana
  • Haiti
  • Heard Island and McDonald Islands
  • Holy See (Vatican City State)
  • Honduras
  • Hong Kong
  • Hungary
  • Iceland
  • India
  • Indonesia
  • Iraq
  • Ireland
  • Isle of Man
  • Israel
  • Italy
  • Jamaica
  • Japan
  • Jersey
  • Jordan
  • Kazakhstan
  • Kenya
  • Kiribati
  • Kuwait
  • Kyrgyzstan
  • Lao People's Democratic Republic
  • Latvia
  • Lebanon
  • Lesotho
  • Liberia
  • Libya
  • Liechtenstein
  • Lithuania
  • Luxembourg
  • Macao
  • Madagascar
  • Malawi
  • Malaysia
  • Maldives
  • Mali
  • Malta
  • Marshall Islands
  • Martinique
  • Mauritania
  • Mauritius
  • Mayotte
  • Mexico
  • Micronesia, Federated States of
  • Moldova, Republic of
  • Monaco
  • Mongolia
  • Montenegro
  • Montserrat
  • Morocco
  • Mozambique
  • Myanmar
  • Namibia
  • Nauru
  • Nepal
  • Netherlands
  • New Caledonia
  • New Zealand
  • Nicaragua
  • Niger
  • Nigeria
  • Niue
  • Norfolk Island
  • North Macedonia, Republic of
  • Northern Mariana Islands
  • Norway
  • Oman
  • Pakistan
  • Palau
  • Panama
  • Papua New Guinea
  • Paraguay
  • Peru
  • Philippines
  • Pitcairn
  • Poland
  • Portugal
  • Puerto Rico
  • Qatar
  • Reunion
  • Romania
  • Rwanda
  • Saint Barthélemy
  • Saint Helena
  • Saint Kitts and Nevis
  • Saint Lucia
  • Saint Martin (French part)
  • Saint Pierre and Miquelon
  • Saint Vincent and the Grenadines
  • Samoa
  • San Marino
  • Sao Tome and Principe
  • Saudi Arabia
  • Senegal
  • Serbia
  • Seychelles
  • Sierra Leone
  • Singapore
  • Sint Maarten (Dutch part)
  • Slovakia
  • Slovenia
  • Solomon Islands
  • Somalia
  • South Africa
  • South Georgia and the South Sandwich Islands
  • South Korea
  • South Sudan
  • Spain
  • Sri Lanka
  • State of Palestine
  • Suriname
  • Svalbard and Jan Mayen
  • Sweden
  • Switzerland
  • Taiwan
  • Tajikistan
  • Tanzania, United Republic of
  • Thailand
  • Timor-Leste
  • Togo
  • Tokelau
  • Tonga
  • Trinidad and Tobago
  • Tunisia
  • Turkey
  • Turkmenistan
  • Turks and Caicos Islands
  • Tuvalu
  • Uganda
  • Ukraine
  • United Arab Emirates
  • United Kingdom
  • United States Minor Outlying Islands
  • United States of America
  • Uruguay
  • Uzbekistan
  • Vanuatu
  • Venezuela
  • Vietnam
  • Virgin Islands, British
  • Virgin Islands, U.S.
  • Wallis and Futuna
  • Western Sahara
  • Yemen
  • Zambia
  • Zimbabwe

I have an account. Log-In

By clicking “START FREE”, you agree to the Terms of Service and Privacy Policy.

Additional Resources

How to use built-in ML functions and launch in minutes

Docs for model inference and ML in Flink to get started

Early Access to TimesFM, PII Detection, and Sentiment Analysis

The Complete Guide to Context Engineering for AI