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!

Postingan blog terkait

Announcing AI functions for seamless data engineering with GenAI

Desember 9, 2025 berdasarkan Kunal Parekh

Discover how Microsoft Fabric’s Forecasting Service system reduces Spark startup latency and cloud costs through proactive AI and ML-driven resource provisioning. Context & Relevance Waiting minutes for a Spark cluster to become available can throttle analytics velocity, delay insights, and drive-up cloud spend. In a world where data teams expect near‐instant execution and seamless burst … Continue reading “How does Fabric make Spark Notebooks Instant?”

November 21, 2025 berdasarkan Penny Zhou

Troubleshooting pipeline failures can be overwhelming, especially when a single run throws dozens or even hundreds of errors. The new Error Insights Copilot in Fabric makes this process faster, smarter, and easier. Powered by AI, Copilot provides clear explanations, root cause analysis, and actionable recommendations, so you can resolve issues without getting lost in technical … Continue reading “AI-powered troubleshooting for Fabric pipeline error messages”