Skip to main content
Open in Kaggle  Open in Colab  Download Notebook
This documentation page is also available as an interactive notebook. You can launch the notebook in Kaggle or Colab, or download it for use with an IDE or local Jupyter installation, by clicking one of the above links.
Pixeltable’s Microsoft Fabric integration enables you to access Azure OpenAI models within Microsoft Fabric notebook environments with automatic authentication.

Prerequisites

  • A Microsoft Fabric workspace with access to AI services
  • Running in a Microsoft Fabric notebook environment

Important notes

  • This integration only works within Microsoft Fabric notebook environments
  • Authentication is handled automatically - no API keys required
  • Azure OpenAI usage in Fabric is subject to your organization’s Fabric capacity and policies
For more information about Fabric AI services, see the Microsoft Fabric AI Services documentation. First, install Pixeltable in your Fabric notebook:
Now let’s create a Pixeltable directory to hold the tables for our demo.

Chat Completions with Standard Models

Let’s start by using a standard chat model (gpt-4.1) for a simple Q&A application. Create a table in Pixeltable with a computed column that calls Azure OpenAI via Fabric:

Chat Completions with Reasoning Models

Fabric also supports reasoning models like gpt-5, which are optimized for complex reasoning tasks. Note: Reasoning models have different parameter requirements:
  • Use max_completion_tokens instead of max_tokens
  • Don’t support the temperature parameter
Fabric also supports embedding models for semantic search and similarity operations. Let’s create a knowledge base with semantic search capabilities:

Combining Chat and Embeddings: RAG Pattern

Let’s combine embeddings and chat completions to build a simple Retrieval-Augmented Generation (RAG) system:

Available Models in Fabric

The following models are currently available in Microsoft Fabric: Chat Models:
  • gpt-5 (reasoning model)
  • gpt-4.1
  • gpt-4.1-mini
Embedding Models:
  • text-embedding-ada-002
  • text-embedding-3-small
  • text-embedding-3-large
For the latest information on available models, see the Fabric AI Services documentation.

Key Features

  • Automatic Authentication: No API keys required - authentication is handled by Fabric
  • Rate Limiting: Pixeltable automatically handles rate limiting based on Azure OpenAI response headers
  • Batching: Embedding requests are automatically batched for efficiency (up to 32 inputs per request)
  • Incremental Processing: Computed columns only run on new or updated data
  • Versioning: All data and transformations are automatically versioned

Learn More

To learn more about advanced techniques in Pixeltable: If you have any questions, don’t hesitate to reach out on our Discord community.
Last modified on June 24, 2026