<?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 Which context improves Genie accuracy most? I benchmarked 4 layers in Genie Hub</title>
    <link>https://community.databricks.com/t5/genie-hub/which-context-improves-genie-accuracy-most-i-benchmarked-4/m-p/174513#M108</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I wanted to know which kind of business context actually moves Genie's accuracy, so I ran a small benchmark on samples.wanderbricks: 30 questions (15 scenarios in 2 phrasings), each with ground-truth SQL, adding one layer of context at a time in a new Genie Agent, two runs per layer.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Accuracy over 60 answers per layer:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Tables only: 40%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Plus Unity Catalog descriptions: 47%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Plus metric views: 97%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Plus example SQL: 100%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Plus text instructions: 97%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;What stood out:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• With tables only, Genie got 1 of 36 business-definition answers right. The SQL ran fine; the definitions were missing, for example which booking statuses count as revenue.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Metric views fixed every definition they encoded.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• The one rule that didn't fit a measure (a repeat guest has two or more completed stays) needed an example query.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Text instructions on top added nothing.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;The full write-up, including a row filter and column mask test on synthetic data:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/pulse/which-business-context-makes-ai-data-agent-accurate-i-suraj-ghodke-ufnxf" target="_blank" rel="noopener"&gt;https://www.linkedin.com/pulse/which-business-context-makes-ai-data-agent-accurate-i-suraj-ghodke-ufnxf&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Has anyone measured something different, for example with text instructions or Genie Ontology snippets? I'd like to compare notes.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 24 Oct 2026 12:20:51 GMT</pubDate>
    <dc:creator>SurajGhodke</dc:creator>
    <dc:date>2026-10-24T12:20:51Z</dc:date>
    <item>
      <title>Which context improves Genie accuracy most? I benchmarked 4 layers</title>
      <link>https://community.databricks.com/t5/genie-hub/which-context-improves-genie-accuracy-most-i-benchmarked-4/m-p/174513#M108</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I wanted to know which kind of business context actually moves Genie's accuracy, so I ran a small benchmark on samples.wanderbricks: 30 questions (15 scenarios in 2 phrasings), each with ground-truth SQL, adding one layer of context at a time in a new Genie Agent, two runs per layer.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Accuracy over 60 answers per layer:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Tables only: 40%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Plus Unity Catalog descriptions: 47%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Plus metric views: 97%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Plus example SQL: 100%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Plus text instructions: 97%&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;What stood out:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• With tables only, Genie got 1 of 36 business-definition answers right. The SQL ran fine; the definitions were missing, for example which booking statuses count as revenue.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Metric views fixed every definition they encoded.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• The one rule that didn't fit a measure (a repeat guest has two or more completed stays) needed an example query.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;• Text instructions on top added nothing.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;The full write-up, including a row filter and column mask test on synthetic data:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/pulse/which-business-context-makes-ai-data-agent-accurate-i-suraj-ghodke-ufnxf" target="_blank" rel="noopener"&gt;https://www.linkedin.com/pulse/which-business-context-makes-ai-data-agent-accurate-i-suraj-ghodke-ufnxf&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Has anyone measured something different, for example with text instructions or Genie Ontology snippets? I'd like to compare notes.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 24 Oct 2026 12:20:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/genie-hub/which-context-improves-genie-accuracy-most-i-benchmarked-4/m-p/174513#M108</guid>
      <dc:creator>SurajGhodke</dc:creator>
      <dc:date>2026-10-24T12:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Which context improves Genie accuracy most? I benchmarked 4 layers</title>
      <link>https://community.databricks.com/t5/genie-hub/which-context-improves-genie-accuracy-most-i-benchmarked-4/m-p/174532#M109</link>
      <description>&lt;P&gt;Thanks for sharing the numbers. The result that only 1 of 36 business-definition answers was right with tables alone is the most useful part, and it matches what you would expect when the definition of revenue lives only in people's heads. A few things that might change how far the layer ordering can be trusted:&lt;/P&gt;&lt;P&gt;1) Layers are confounded. A metric view bundles measure definitions, dimensions and comments in one object, so 'plus metric views' is several kinds of context at once. Running each layer on its own over the bare tables (and metric views vs example SQL head to head) would show whether example SQL alone also reaches the high 90s. Also check that the example queries are not near-copies of the test questions, otherwise 100% partly measures leakage.&lt;/P&gt;&lt;P&gt;2) Ceiling effect. With 30 questions, one miss is about 3 points, and once a layer sits at 97% there is no headroom left for anything stacked on top. 'Text instructions added nothing' may mean 'nothing left to fix'. A harder set (ambiguous column names, financial-period rules, multi-hop joins, questions that need a default filter) where the metric-view layer lands around 70-80% would be a fairer test of the later layers.&lt;/P&gt;&lt;P&gt;3) Variance. Genie output is not deterministic, so with two runs per layer I would report per-question pass counts (0/2, 1/2, 2/2) next to the mean. The 1/2 questions show exactly where the context is still thin. Grading on result sets rather than SQL text, and flagging cases where a wrong definition happened to return the same rows, keeps the score honest.&lt;/P&gt;&lt;P&gt;4) samples.wanderbricks is public, so a second run on a messier private-style schema would show whether the gap between layers holds.&lt;/P&gt;&lt;P&gt;Where I would expect text instructions to earn their place: global rules that apply to every query (default time window, always exclude test accounts, which currency, how to disambiguate 'customer'), since those do not fit a measure or a single example. A test case built around those rules could show a different result. Did you keep the same benchmark question order for every layer, or shuffle it?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Oct 2026 00:48:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/genie-hub/which-context-improves-genie-accuracy-most-i-benchmarked-4/m-p/174532#M109</guid>
      <dc:creator>DoTA</dc:creator>
      <dc:date>2026-10-25T00:48:04Z</dc:date>
    </item>
  </channel>
</rss>

