<?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: I am struggling on complicated RAG code for Mosaic evaluation deployment in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/i-am-struggling-on-complicated-rag-code-for-mosaic-evaluation/m-p/136185#M1283</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/148819"&gt;@wind2025&lt;/a&gt;, for Mosaic RAG setups:&lt;/P&gt;&lt;P&gt;Parallel retrievals: independent retrievers feeding one or multiple LLMs.&lt;/P&gt;&lt;P&gt;Linear retrievals: chain retrievers so output of one filters the next.&lt;/P&gt;&lt;P&gt;Independent RAG chains: define separate chains and register both as tools for the same agent.&lt;/P&gt;&lt;P&gt;Test each retriever/LLM with model.log() before model.deploy() to simplify debugging.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Oct 2025 13:33:01 GMT</pubDate>
    <dc:creator>CharlotteMarti2</dc:creator>
    <dc:date>2025-10-27T13:33:01Z</dc:date>
    <item>
      <title>I am struggling on complicated RAG code for Mosaic evaluation deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/i-am-struggling-on-complicated-rag-code-for-mosaic-evaluation/m-p/109921#M767</link>
      <description>&lt;P&gt;I want to know how I can apply some complicated RAG designs &lt;STRONG&gt;so I can directly deploy on the Mosaic AI evaluation UI&lt;/STRONG&gt;. There are two cases:&lt;/P&gt;&lt;P&gt;1. two or more index retrieval as independent tools (parallel retrievals)&lt;/P&gt;&lt;P&gt;2.two&amp;nbsp;index retrieval processes that depend on each other. For example, Retriever A returns Entity B, which is used as a filter for another Retriever C; C returns the entity D for the LLM invoke function (linear retrievals)&lt;/P&gt;&lt;P&gt;3.two completely independent RAG chains as two tools for the same agent: different retrievals, different LLMs (parallel RAGs)&lt;/P&gt;&lt;P&gt;Can anyone please give me any notebooks or chain templates on any of these case so that the code can successfully pass model.log() and model.&lt;SPAN&gt;deploy()?model.deploy() is very hard to debug on these issues. Thanks!&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 23:46:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/i-am-struggling-on-complicated-rag-code-for-mosaic-evaluation/m-p/109921#M767</guid>
      <dc:creator>wind2025</dc:creator>
      <dc:date>2025-02-11T23:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: I am struggling on complicated RAG code for Mosaic evaluation deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/i-am-struggling-on-complicated-rag-code-for-mosaic-evaluation/m-p/110402#M775</link>
      <description>&lt;P&gt;Interesting use case, would love to know the answer!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 14:04:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/i-am-struggling-on-complicated-rag-code-for-mosaic-evaluation/m-p/110402#M775</guid>
      <dc:creator>Mantsama4</dc:creator>
      <dc:date>2025-02-17T14:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: I am struggling on complicated RAG code for Mosaic evaluation deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/i-am-struggling-on-complicated-rag-code-for-mosaic-evaluation/m-p/136017#M1279</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/148819"&gt;@wind2025&lt;/a&gt;, since you posted this question, progress has been made&amp;nbsp;quite a bit. You can now use Agent Bricks to construct a multi-agent supervisor tailored to your specific use case. Take a look at &lt;A href="https://docs.databricks.com/aws/en/generative-ai/agent-bricks/multi-agent-supervisor#gsc.tab=0" target="_self"&gt;this&lt;/A&gt;. If you prefer to use code, consider this &lt;A href="https://docs.databricks.com/aws/en/generative-ai/agent-framework/multi-agent-genie#gsc.tab=0" target="_self"&gt;example&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2025 10:56:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/i-am-struggling-on-complicated-rag-code-for-mosaic-evaluation/m-p/136017#M1279</guid>
      <dc:creator>dkushari</dc:creator>
      <dc:date>2025-10-25T10:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: I am struggling on complicated RAG code for Mosaic evaluation deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/i-am-struggling-on-complicated-rag-code-for-mosaic-evaluation/m-p/136185#M1283</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/148819"&gt;@wind2025&lt;/a&gt;, for Mosaic RAG setups:&lt;/P&gt;&lt;P&gt;Parallel retrievals: independent retrievers feeding one or multiple LLMs.&lt;/P&gt;&lt;P&gt;Linear retrievals: chain retrievers so output of one filters the next.&lt;/P&gt;&lt;P&gt;Independent RAG chains: define separate chains and register both as tools for the same agent.&lt;/P&gt;&lt;P&gt;Test each retriever/LLM with model.log() before model.deploy() to simplify debugging.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 13:33:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/i-am-struggling-on-complicated-rag-code-for-mosaic-evaluation/m-p/136185#M1283</guid>
      <dc:creator>CharlotteMarti2</dc:creator>
      <dc:date>2025-10-27T13:33:01Z</dc:date>
    </item>
  </channel>
</rss>

