<?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: Customizing the UI of Streamlit App Template in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105442#M706</link>
    <description>&lt;P&gt;Hi Alberto,&lt;/P&gt;&lt;P&gt;Still getting same error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bryan1_0-1736783182337.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14070iF8DB23A1B10BDA1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bryan1_0-1736783182337.png" alt="bryan1_0-1736783182337.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2025 15:46:28 GMT</pubDate>
    <dc:creator>bryan1</dc:creator>
    <dc:date>2025-01-13T15:46:28Z</dc:date>
    <item>
      <title>Customizing the UI of Streamlit App Template</title>
      <link>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105312#M702</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;I used the Streamlit Chatbot template for Databricks Apps. I'm looking to customize the UI and wanted to make changes to the app.py file to do so. Even before I made any changes, I ran the file and I'm getting an error with databricks SDK and ChatMessage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to find a solution to get the code to run so I can change the title of the chatbot and redeploy it. Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bryan1_0-1736647332600.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14062i276A4CBC890145DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bryan1_0-1736647332600.png" alt="bryan1_0-1736647332600.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jan 2025 02:02:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105312#M702</guid>
      <dc:creator>bryan1</dc:creator>
      <dc:date>2025-01-12T02:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the UI of Streamlit App Template</title>
      <link>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105313#M703</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/142428"&gt;@bryan1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Could you please advise what SDK version are you using?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jan 2025 02:17:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105313#M703</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-12T02:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the UI of Streamlit App Template</title>
      <link>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105344#M704</link>
      <description>&lt;P&gt;Hi Alberto,&lt;/P&gt;&lt;P&gt;I am on&amp;nbsp;&lt;SPAN&gt;Version: 0.40.0 Databricks SDK for Python (Beta). Do you know what version has ChatMessage?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 05:51:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105344#M704</guid>
      <dc:creator>bryan1</dc:creator>
      <dc:date>2025-01-13T05:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the UI of Streamlit App Template</title>
      <link>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105398#M705</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/142428"&gt;@bryan1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have just tested this sample code and worked for me on 0.40 SDK version, can you try it too?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;databricks&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;sdk&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;service&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;serving&lt;/SPAN&gt; &lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;ChatMessage&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;def&lt;/SPAN&gt; &lt;SPAN&gt;test_chat_message&lt;/SPAN&gt;&lt;SPAN&gt;():&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;message&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;ChatMessage&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;role&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"user"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;content&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Hello, how can I help you today?"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&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N&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;test_chat_message&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Jan 2025 12:51:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105398#M705</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-13T12:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the UI of Streamlit App Template</title>
      <link>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105442#M706</link>
      <description>&lt;P&gt;Hi Alberto,&lt;/P&gt;&lt;P&gt;Still getting same error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bryan1_0-1736783182337.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14070iF8DB23A1B10BDA1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bryan1_0-1736783182337.png" alt="bryan1_0-1736783182337.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 15:46:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105442#M706</guid>
      <dc:creator>bryan1</dc:creator>
      <dc:date>2025-01-13T15:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the UI of Streamlit App Template</title>
      <link>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105444#M707</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/142428"&gt;@bryan1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for the details, there might be something at the cluster level configuration, can you please share your cluster settings like DBR version / libraries / access mode?&lt;/P&gt;
&lt;P&gt;I even tried on an older version / serverless and worked:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alberto_Umana_0-1736783621106.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14071i5E216D69E1ED5CAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alberto_Umana_0-1736783621106.png" alt="Alberto_Umana_0-1736783621106.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 15:53:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105444#M707</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-13T15:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the UI of Streamlit App Template</title>
      <link>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105447#M708</link>
      <description>&lt;P&gt;Hi Alberto,&lt;/P&gt;&lt;P&gt;Here are the configs of the cluster, I have no libraries installed, and can manage the cluster for my permissions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bryan1_0-1736784116024.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14073i6DB4F2887F368B83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bryan1_0-1736784116024.png" alt="bryan1_0-1736784116024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 16:02:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/105447#M708</guid>
      <dc:creator>bryan1</dc:creator>
      <dc:date>2025-01-13T16:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the UI of Streamlit App Template</title>
      <link>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/106123#M713</link>
      <description>&lt;P&gt;Hi Alberto,&lt;/P&gt;&lt;P&gt;Any thoughts on my last message around the cluster configurations?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 17:15:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/customizing-the-ui-of-streamlit-app-template/m-p/106123#M713</guid>
      <dc:creator>bryan1</dc:creator>
      <dc:date>2025-01-17T17:15:34Z</dc:date>
    </item>
  </channel>
</rss>

