<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AI Model to Generate Python Utilities in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/ai-model-to-generate-python-utilities/m-p/147849#M1625</link>
    <description>&lt;P&gt;Hi team,&lt;BR /&gt;I'm working on Databricks and need to choose a model from Foundation Model APIs / AI Playground to generate Python utilities for my infra team. For notebook Assistant (Ctrl+I in cells), which model would you recommend for reliable Python code generation, and why?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Feb 2026 09:02:31 GMT</pubDate>
    <dc:creator>neeraj_borana</dc:creator>
    <dc:date>2026-02-10T09:02:31Z</dc:date>
    <item>
      <title>AI Model to Generate Python Utilities</title>
      <link>https://community.databricks.com/t5/generative-ai/ai-model-to-generate-python-utilities/m-p/147849#M1625</link>
      <description>&lt;P&gt;Hi team,&lt;BR /&gt;I'm working on Databricks and need to choose a model from Foundation Model APIs / AI Playground to generate Python utilities for my infra team. For notebook Assistant (Ctrl+I in cells), which model would you recommend for reliable Python code generation, and why?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 09:02:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/ai-model-to-generate-python-utilities/m-p/147849#M1625</guid>
      <dc:creator>neeraj_borana</dc:creator>
      <dc:date>2026-02-10T09:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: AI Model to Generate Python Utilities</title>
      <link>https://community.databricks.com/t5/generative-ai/ai-model-to-generate-python-utilities/m-p/147902#M1626</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For the foundation model APIs part of your question, I would probably choose between one of the models is very strong at coding. This would either be Open AI Codex Family or Claude Opus. I would probably start by testing Open AI codex Max and Mini against each other and if I think I could get away with the Mini use this as it will be hopefully the best balance between cost and accuracy. If the accuracy isn't good enough then I would then look to compare&amp;nbsp; Open AI codex Max and then go to Claude Opus. Note though that the Open AI codex models aren't currently available in the AI playground but can be used via a &lt;A href="https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/api-reference#responses-api" target="_blank"&gt;responses API.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;When it comes to the Assistant, you don't actually control which underlying model it uses. All you can control is whether you allow it to access partner powered models or not (in workspace settings) This controls whether it has access to some partner provided services: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/databricks-ai/partner-powered" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/databricks-ai/partner-powered&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;What is more important on Assistant to get more accurate results is your workspace settings, this allows to set things like your coding standards etc, to give the assistant much more context about how it should be used.&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/notebooks/assistant-tips" target="_self"&gt;Assistant Config&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 12:55:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/ai-model-to-generate-python-utilities/m-p/147902#M1626</guid>
      <dc:creator>emma_s</dc:creator>
      <dc:date>2026-02-10T12:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: AI Model to Generate Python Utilities</title>
      <link>https://community.databricks.com/t5/generative-ai/ai-model-to-generate-python-utilities/m-p/148108#M1628</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’m trying to understand the difference between the Databricks Notebook Assistant and the Databricks Cell Assistant. From what I gather:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Notebook Assistant seems to provide guidance at the whole notebook level, like suggesting workflows, refactoring multiple cells, or giving high-level explanations.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Cell Assistant appears to focus on individual cells, helping generate, autocomplete, or explain code for that specific cell.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could someone clarify:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Are these two assistants separate tools, or are they different views of the same AI assistant?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there any limitations or differences in functionality between the two?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Any tips on best practices for when to use Notebook Assistant vs Cell Assistant?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 05:26:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/ai-model-to-generate-python-utilities/m-p/148108#M1628</guid>
      <dc:creator>neeraj_borana</dc:creator>
      <dc:date>2026-02-12T05:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: AI Model to Generate Python Utilities</title>
      <link>https://community.databricks.com/t5/generative-ai/ai-model-to-generate-python-utilities/m-p/148137#M1630</link>
      <description>&lt;P&gt;Hi, They are effectively the same assistant under the hood, it's more the context of where it's working from that's important.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the cell based one will assume you're asking about the specific cell you're in and because it's only a small prompt window it's great for trouble shooting or simple changes.&lt;/P&gt;
&lt;P&gt;The notebook assistant will think you're chatting about all your code and it gives you a much more chat based interface. I tend to use it for planning through my code and longer thought processes where I may be sending multiple prompts.&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Emma&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 09:01:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/ai-model-to-generate-python-utilities/m-p/148137#M1630</guid>
      <dc:creator>emma_s</dc:creator>
      <dc:date>2026-02-12T09:01:29Z</dc:date>
    </item>
  </channel>
</rss>

