<?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: [Genie] Format assistance &amp;amp; entity match doesn't work for me in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/166138#M2020</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/156756"&gt;@pavannaidu&lt;/a&gt;&amp;nbsp;I would like to reopen this issue, as I have faced similar problems (and yes I made sure to enable it properly, toggling off and saving, toggling on and saving again, etc.). For Genie Agent in Chat Mode, when going into the thinking process and checking the intermediate queries, it does not seem to be able to leverage the entity matching. According to the documentation:&lt;/P&gt;&lt;P&gt;Review the following example:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;"Show me car sales in Florida for Q1."&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If the data uses state abbreviations (such as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;FL), and Genie cannot access the values for that column, Genie might generate SQL that includes&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ILIKE '%Florida%', which returns no results.&lt;/P&gt;&lt;P&gt;Enabling entity matching on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;state&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;column allows Genie to access representative values. With this context, Genie can recognize that&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;FL&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;corresponds to "Florida" and generate more accurate SQL.&lt;/P&gt;&lt;P&gt;Without entity matchingWith entity matching&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;WHERE state ILIKE '%Florida%'&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;WHERE state = 'FL'&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now in my case I have a table with region, business_unit, country (3 columns) no more than 30 rows. Enable format assistance and entity matching on all of them. If I ask any question that needs BU (business_unit) filtering, e.g. as simple as "Show me the countries belonging to the Greek BU" I get the following thinking pattern in Genie Chat Mode:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mckohnen_0-1787316206817.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/30163iAA0C236A914E47D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mckohnen_0-1787316206817.png" alt="mckohnen_0-1787316206817.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the first SQLs in the thinking process look like this:&amp;nbsp;&lt;BR /&gt;Inspection:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT DISTINCT
  `country`
FROM
  `dc_adb-landing-zone-002`.`idor`.`tsc2_ucm_dim_geo_entities`
WHERE
  `business_unit` ILIKE '%Greece%'
  AND `business_unit` IS NOT NULL
  AND `country` IS NOT NULL&lt;/LI-CODE&gt;&lt;P&gt;Checking:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT DISTINCT
  `business_unit`
FROM
  `dc_adb-landing-zone-002`.`idor`.`tsc2_ucm_dim_geo_entities`
WHERE
  `business_unit` ILIKE '%Greece%'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Verification (this is the only time the actual BU name is filtered as I would expect from the beginning given the entity matching documentation example):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT
  `business_unit`,
  `country`,
  `region`
FROM
  `dc_adb-landing-zone-002`.`idor`.`tsc2_ucm_dim_geo_entities`
WHERE
  `business_unit` = 'BU Greece &amp;amp; Cyprus'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;And the final SQL used for the answer then though is the first SQL (from the inspection, so with ILIKE filter).&lt;BR /&gt;&lt;BR /&gt;Clearly something is not working as documented. Please let me know if this is a Genie Agent bug (if so please forward it to the team to fix it, as this would decrease the thinking time which can pile up for complex questions) or if there is something else we are all missing, to really leverage entity matching.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Aug 2026 12:53:06 GMT</pubDate>
    <dc:creator>mckohnen</dc:creator>
    <dc:date>2026-08-21T12:53:06Z</dc:date>
    <item>
      <title>[Genie] Format assistance &amp; entity match doesn't work for me</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/146863#M1608</link>
      <description>&lt;P&gt;I enable&amp;nbsp;format assistance &amp;amp; entity match for some table fields in my genie space. But it looks like it doesn't work.&amp;nbsp;&lt;BR /&gt;e.g. the following field is categorical and I enable&amp;nbsp;format assistance &amp;amp; entity match for it. The following is the generated sql:&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;move_type = 'GATE_OUT'&lt;/DIV&gt;&lt;P&gt;But what I expect is move_type = 'GATE-OUT'&lt;/P&gt;&lt;P&gt;To me, it looks like genie don't know the real value in move_type.&lt;BR /&gt;Anyone can help to fix this problem? Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 06:22:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/146863#M1608</guid>
      <dc:creator>Jeff_Zhang</dc:creator>
      <dc:date>2026-02-05T06:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: [Genie] Format assistance &amp; entity match doesn't work for me</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/147182#M1613</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/214618"&gt;@Jeff_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It could be for a couple of reasons&lt;/P&gt;
&lt;P&gt;1. Check if the number of distinct values in this column exceeds the current limit of&amp;nbsp;&lt;SPAN&gt;1,024 distinct values. Reference:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/genie/knowledge-store#-prompt-matching-components" target="_self"&gt;https://docs.databricks.com/aws/en/genie/knowledge-store#-prompt-matching-components&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;2. Check if there are duplicate entries in the column, where both&amp;nbsp;&lt;SPAN&gt;GATE_OUT &amp;amp;&amp;nbsp;GATE-OUT exist in th column.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3. More importantly, it could be that the entity matching state is stale. The state is created when the Genie space is created. However, if the data is refreshed, you will need to manually refresh the state.&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;In UI, toggling entity matching on and off will refresh the state that is used for matching values. You will see a spinning wheel in the UI, for example, see below&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-02-06 at 12.15.00 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/23692i9A0D79C2F3E809D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-02-06 at 12.15.00 PM.png" alt="Screenshot 2026-02-06 at 12.15.00 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;If you want to update the Genie space, you can also do it programmatically: &lt;A href="https://docs.databricks.com/api/azure/workspace/genie/updatespace" target="_self"&gt;https://docs.databricks.com/api/azure/workspace/genie/updatespace&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope this helps!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 18:24:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/147182#M1613</guid>
      <dc:creator>pavannaidu</dc:creator>
      <dc:date>2026-02-06T18:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: [Genie] Format assistance &amp; entity match doesn't work for me</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/147499#M1618</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/156756"&gt;@pavannaidu&lt;/a&gt;&amp;nbsp;I am sure&amp;nbsp;&lt;SPAN&gt;this column doesn't exceeds the current limit of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;1,024 distinct values. And there's no duplicate&amp;nbsp;GATE_OUT &amp;amp;&amp;nbsp;GATE-OUT. And I have refreshed the entity matching several times, but doesn't work for me.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2026 08:35:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/147499#M1618</guid>
      <dc:creator>Jeff_Zhang</dc:creator>
      <dc:date>2026-02-08T08:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Genie] Format assistance &amp; entity match doesn't work for me</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/147740#M1621</link>
      <description>&lt;P&gt;Thanks for checking,&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/214618"&gt;@Jeff_Zhang&lt;/a&gt;&amp;nbsp;! Just want to clarify regarding refreshing the state: you will need to toggle off &amp;amp; save, then toggle on again &amp;amp; save. Otherwise, format assistance/entity matching won't refresh. You will see a spinning wheel in the UI when it's refreshing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, do you see values such as GATE-OUT, GATE-IN, etc., in the format assistance?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Last resort: try recreating the Genie space and see if it works. You can clone a Genie space; this will recreate the space:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/genie/set-up#clone-a-genie-space" target="_self"&gt;https://docs.databricks.com/aws/en/genie/set-up#clone-a-genie-space&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 16:14:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/147740#M1621</guid>
      <dc:creator>pavannaidu</dc:creator>
      <dc:date>2026-02-09T16:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: [Genie] Format assistance &amp; entity match doesn't work for me</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/148123#M1629</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/156756"&gt;@pavannaidu&lt;/a&gt;&amp;nbsp;I have tried all the approaches, but none of them works for me. Genie is a blackbox for me which means it is very hard for me to do the trouble shooting.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 07:35:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/148123#M1629</guid>
      <dc:creator>Jeff_Zhang</dc:creator>
      <dc:date>2026-02-12T07:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: [Genie] Format assistance &amp; entity match doesn't work for me</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/166138#M2020</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/156756"&gt;@pavannaidu&lt;/a&gt;&amp;nbsp;I would like to reopen this issue, as I have faced similar problems (and yes I made sure to enable it properly, toggling off and saving, toggling on and saving again, etc.). For Genie Agent in Chat Mode, when going into the thinking process and checking the intermediate queries, it does not seem to be able to leverage the entity matching. According to the documentation:&lt;/P&gt;&lt;P&gt;Review the following example:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;"Show me car sales in Florida for Q1."&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If the data uses state abbreviations (such as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;FL), and Genie cannot access the values for that column, Genie might generate SQL that includes&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ILIKE '%Florida%', which returns no results.&lt;/P&gt;&lt;P&gt;Enabling entity matching on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;state&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;column allows Genie to access representative values. With this context, Genie can recognize that&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;FL&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;corresponds to "Florida" and generate more accurate SQL.&lt;/P&gt;&lt;P&gt;Without entity matchingWith entity matching&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;WHERE state ILIKE '%Florida%'&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;WHERE state = 'FL'&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now in my case I have a table with region, business_unit, country (3 columns) no more than 30 rows. Enable format assistance and entity matching on all of them. If I ask any question that needs BU (business_unit) filtering, e.g. as simple as "Show me the countries belonging to the Greek BU" I get the following thinking pattern in Genie Chat Mode:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mckohnen_0-1787316206817.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/30163iAA0C236A914E47D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mckohnen_0-1787316206817.png" alt="mckohnen_0-1787316206817.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the first SQLs in the thinking process look like this:&amp;nbsp;&lt;BR /&gt;Inspection:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT DISTINCT
  `country`
FROM
  `dc_adb-landing-zone-002`.`idor`.`tsc2_ucm_dim_geo_entities`
WHERE
  `business_unit` ILIKE '%Greece%'
  AND `business_unit` IS NOT NULL
  AND `country` IS NOT NULL&lt;/LI-CODE&gt;&lt;P&gt;Checking:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT DISTINCT
  `business_unit`
FROM
  `dc_adb-landing-zone-002`.`idor`.`tsc2_ucm_dim_geo_entities`
WHERE
  `business_unit` ILIKE '%Greece%'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Verification (this is the only time the actual BU name is filtered as I would expect from the beginning given the entity matching documentation example):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT
  `business_unit`,
  `country`,
  `region`
FROM
  `dc_adb-landing-zone-002`.`idor`.`tsc2_ucm_dim_geo_entities`
WHERE
  `business_unit` = 'BU Greece &amp;amp; Cyprus'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;And the final SQL used for the answer then though is the first SQL (from the inspection, so with ILIKE filter).&lt;BR /&gt;&lt;BR /&gt;Clearly something is not working as documented. Please let me know if this is a Genie Agent bug (if so please forward it to the team to fix it, as this would decrease the thinking time which can pile up for complex questions) or if there is something else we are all missing, to really leverage entity matching.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2026 12:53:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-format-assistance-amp-entity-match-doesn-t-work-for-me/m-p/166138#M2020</guid>
      <dc:creator>mckohnen</dc:creator>
      <dc:date>2026-08-21T12:53:06Z</dc:date>
    </item>
  </channel>
</rss>

