Skip to main content

Command Palette

Search for a command to run...

RANCH: Data Agent Responses API Notebook Conversion Helper

Updated
View as Markdown
S

Principal Program Manager, Microsoft Fabric CAT helping users and organizations build scalable, insightful, secure solutions. Blogs, opinions are my own and do not represent my employer.

In case you missed it, Open AI announced the deprecation of Assistant API a while ago. In response to that, Fabric data agent is moving from the Assistant API to the Responses API. You have to migrate by August 26, that's 10 days away! refer to this official announcement : Prepare your Fabric Data Agent integrations for Assistants API retirement | Microsoft Fabric Community

If you don't use the Python SDK to manage, evaluate the data agents - ignore this blog. You are good.

To help speed up the process, I (i.e. GHCP CLI with my direction) have created a tool to help you migrate. Upload your existing notebook that uses the Assistant API and download a notebook with Responses API. It scans the code cells and proposes the changes. No LLM is used, it's all regex and pattern based. It's called RANCH (Responses API Notebook Conversion Helper)

RANCH (BETA) · Fabric Data Agent Migration · Streamlit

Give it a try, if you run into any issues, please file a bug here.

💡
Unlike the Assistant API, Responses API cannot be used from outside of Fabric for evaluation. For external evaluation, use the MCP endpoint.

Here are the sample Responses API notebooks : fabric-samples/docs-samples/data-science/data-agent-sdk/responses-api at main · microsoft/fabric-samples