<?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 Re: Inquiry on How to Return Visualizations, Images, or URLs from Databricks Genie API in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/inquiry-on-how-to-return-visualizations-images-or-urls-from/m-p/117284#M45465</link>
    <description>&lt;P&gt;For Q1 -&amp;nbsp;&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;You can share a Databricks dashboard's URL to allow rendering or interaction in Microsoft Teams:&lt;/P&gt;
&lt;UL class="_1t7bu9h7 _1t7bu9h2"&gt;
&lt;LI&gt;Create a dashboard in Databricks, ensuring it contains the required visualizations or interaction widgets.&lt;/LI&gt;
&lt;LI&gt;Publish the dashboard and ensure that its credentials are embedded or permissions are properly managed.&lt;/LI&gt;
&lt;LI&gt;Obtain the dashboard's URL and include it in the response generated by Genie.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Thu, 01 May 2025 04:25:29 GMT</pubDate>
    <dc:creator>NandiniN</dc:creator>
    <dc:date>2025-05-01T04:25:29Z</dc:date>
    <item>
      <title>Inquiry on How to Return Visualizations, Images, or URLs from Databricks Genie API</title>
      <link>https://community.databricks.com/t5/data-engineering/inquiry-on-how-to-return-visualizations-images-or-urls-from/m-p/116724#M45364</link>
      <description>&lt;P&gt;Question 1)&lt;/P&gt;&lt;P&gt;I am currently working on integrating Databricks Genie with Microsoft Teams and am looking for guidance on how to return visualizations, images, or URLs in a format that can be rendered in Teams. Specifically, I am trying to figure out how to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Return a plot or chart generated in Databricks.&lt;/LI&gt;&lt;LI&gt;Provide a link to a Databricks dashboard or chart.&lt;/LI&gt;&lt;LI&gt;Return an image URL for a graph so it can be rendered directly in Teams.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I understand that the Genie API primarily supports providing data, but I am interested in knowing the best practices for integrating visual outputs such as charts or images into responses. Should I be modifying the Genie configuration or the prompt templates within Databricks to enable this? Would I need to utilize specific visualization libraries like matplotlib or plotly, or use display commands to generate and return visual outputs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I get ‘I can only execute SQL queries and provide the data. Please use your preferred visualization tool to plot the graph using the provided data.’ As a response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 2) &amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we enable the ai sql function such as ai_forecast. We get the following error while running the function: "AI function ai_forecast is in preview and currently disabled in this environment. SQLSTATE: 0A000" and we don’t see any place to enable the function.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 08:54:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/inquiry-on-how-to-return-visualizations-images-or-urls-from/m-p/116724#M45364</guid>
      <dc:creator>Shaurya_greyhou</dc:creator>
      <dc:date>2025-04-28T08:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Inquiry on How to Return Visualizations, Images, or URLs from Databricks Genie API</title>
      <link>https://community.databricks.com/t5/data-engineering/inquiry-on-how-to-return-visualizations-images-or-urls-from/m-p/117274#M45460</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For question 2:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To enable&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;ai_forecast&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;in SQL warehouses users need to reach out to their account team and we enable it from Databricks side,&amp;nbsp;&amp;nbsp;In SQL it is&lt;STRONG&gt;&amp;nbsp;only available&lt;/STRONG&gt; on&amp;nbsp;&lt;STRONG data-stringify-type="bold"&gt;SQL pro warehouses.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 03:33:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/inquiry-on-how-to-return-visualizations-images-or-urls-from/m-p/117274#M45460</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2025-05-01T03:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Inquiry on How to Return Visualizations, Images, or URLs from Databricks Genie API</title>
      <link>https://community.databricks.com/t5/data-engineering/inquiry-on-how-to-return-visualizations-images-or-urls-from/m-p/117284#M45465</link>
      <description>&lt;P&gt;For Q1 -&amp;nbsp;&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;You can share a Databricks dashboard's URL to allow rendering or interaction in Microsoft Teams:&lt;/P&gt;
&lt;UL class="_1t7bu9h7 _1t7bu9h2"&gt;
&lt;LI&gt;Create a dashboard in Databricks, ensuring it contains the required visualizations or interaction widgets.&lt;/LI&gt;
&lt;LI&gt;Publish the dashboard and ensure that its credentials are embedded or permissions are properly managed.&lt;/LI&gt;
&lt;LI&gt;Obtain the dashboard's URL and include it in the response generated by Genie.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 01 May 2025 04:25:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/inquiry-on-how-to-return-visualizations-images-or-urls-from/m-p/117284#M45465</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2025-05-01T04:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inquiry on How to Return Visualizations, Images, or URLs from Databricks Genie API</title>
      <link>https://community.databricks.com/t5/data-engineering/inquiry-on-how-to-return-visualizations-images-or-urls-from/m-p/117609#M45531</link>
      <description>&lt;P&gt;I am facing the same issue for Q1. Genie API is returning "I can only provide the data for the bar chart. You can use the data to create a bar chart in your preferred visualization tool.".&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;Create a dashboard in Databricks, ensuring it contains the required visualizations or interaction widgets.&lt;/P&gt;&lt;P&gt;How can we pre-create the dashboard if the query to Genie is dynamic?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 May 2025 07:45:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/inquiry-on-how-to-return-visualizations-images-or-urls-from/m-p/117609#M45531</guid>
      <dc:creator>sohymg-unim</dc:creator>
      <dc:date>2025-05-03T07:45:15Z</dc:date>
    </item>
  </channel>
</rss>

