Microsoft Fabric Updates Blog

Announcing AI functions for seamless data engineering with GenAI

If you saw the keynote at FabCon last fall, you may remember an early demo of AI functions in Fabric, a new feature that makes it easy to apply LLM-powered transformations to your OneLake data. We’re thrilled to announce that AI functions are now in preview.

With AI functions, you can harness the power of GenAI for summarization, classification, text generation, and so much more—all with a single line of code. It’s seamless to incorporate AI functions as part of data-science and data-engineering workflows, whether you’re transforming Spark or pandas DataFrames. There is no complex setup, no tricky syntax, and, hopefully, no hassle.

Getting started with AI functions

AI functions turbocharge your analytics workflow, whether you want to classify customer reviews by product categories or to generate action items with custom prompts.

To get started, just install and import the relevant libraries for AI functions with Python or PySpark code in your Fabric notebook. You can copy and paste this code from our documentation – Transform and enrich data seamlessly with AI functions under ‘Getting started with AI functions‘.

A GIF showing how easy it is to get started with AI functions in Fabric. Just install and import the relevant libraries using code samples in the public documentation.
A GIF showing how easy it is to get started with AI functions in Fabric. Just install and import the relevant libraries using code samples in the public documentation.

Once those libraries are installed and imported, you can call any of the following AI functions to transform and enrich your data with simple, lightweight logic:

AI functionDescription
ai.similarityCompare the meaning of input text with a single common text value, or with corresponding text values in another column.
ai.classifyClassify input text values according to labels you choose.
ai.analyze_sentimentIdentify the emotional state expressed by input text.
ai.extractFind and extract specific types of information from input text, for example locations or names.
ai.fix_grammarCorrect the spelling, grammar, and punctuation of input text.
ai.summarizeGet summaries of input text.
ai.translateTranslate input text into another language.
ai.generate_responseGenerate responses based on your own instructions.
Each of the eight AI functions has its own dedicated documentation, with sample code to get you started.
AI functions allow you to apply a variety of LLM-powered operations to your pandas or Spark DataFrames with simple, straightforward code.
AI functions allow you to apply LLM-powered operations to your pandas or Spark DataFrames with a single line of code.

The syntax is so straightforward that, you may not even need our documentation. For example, check out how simple it is to translate foreign customer-service call transcripts with the ai.translate() function:

A GIF showing how to translate customer-service call transcripts from Swedish into English using AI functions in Fabric, all with a single line of code.
A GIF showing how to translate customer-service call transcripts from Swedish into English using AI functions in Fabric, all with a single line of code.

Customizing AI functions

AI functions are designed to work out-of-the-box, with the underlying model and settings configured by default. Users who want more flexible configurations, however, can customize their solutions with a few extra lines of code.

If you want to use your own Azure OpenAI resources instead of the Fabric defaults—or if you want to experiment with the underlying language model’s properties—follow the instructions in our documentation – Customize the configuration of AI functions.

Next steps

We can’t wait for you to try out AI functions on your own data and let us know what you think. Submit your feedback on Fabric Ideas and join the conversation on the Fabric Community.

Before trying out the feature yourself, please make note of a few prerequisites:

We’ll be showing off AI functions—and more LLM-powered features on our roadmap—at the upcoming Microsoft Fabric Community Conference in Las Vegas.

Register now to secure a spot, we look forward to hearing from you soon!

Related blog posts

Announcing AI functions for seamless data engineering with GenAI

February 12, 2026 by Anna Hoffman

Since SQL database in Microsoft Fabric became generally available in November, customer adoption has grown rapidly. Organizations are using it to simplify their data estates, eliminate ETL pipelines, and get their operational data ready for analytics and AI—without managing infrastructure. It’s a fully managed, SaaS-native transactional database built for what comes next. If you’ve been … Continue reading “SQL database in Fabric: Built for SaaS, Ready for AI”

February 10, 2026 by Ruixin Xu

Great technology does not succeed on design alone—it succeeds when it helps people solve real problems. Semantic Link is one of those transformative capabilities in Microsoft Fabric: it brings AI, BI, and data engineering together through a shared semantic layer, enabling teams to work faster and more intelligently on the data they already trust. From … Continue reading “Supercharge AI, BI, and data engineering with Semantic Link (Generally Available)”