AIToday
Large Language ModelsAI Coding AssistantsOpen-Source AIDaily Dose of Data SciencePublished: Oct 23, 2026, 10:01 JST

d1-3B decision model tops RAG gate test on images

Send on LINE
d1-3B decision model tops RAG gate test on images

3 Key Points

  1. What happened

    A tutorial builds an agentic RAG support desk using Liquid AI's d1-3B decision model, EmbeddingGemma 2, and InsForge; d1-3B reranks passages and gates answerability before generation.

  2. Why it matters

    The decision gate had the highest accuracy across four question types and was the only pipeline that held full performance on image-only questions, suggesting decision models can judge evidence visually.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

The tutorial positions decision models as a solution to two problems in agentic RAG: knowing when retrieved evidence is insufficient and acting on that decision. Unlike generative models, decision models return structured judgments such as relevance scores or probabilities, which the application uses to generate a response or escalate to a human.

The build uses InsForge for backend, database, auth, and human-review workflow, EmbeddingGemma 2 for multimodal embeddings, and Liquid AI's d1-3B for scoring passages and assessing answerability. A FastAPI server in Lightning AI Studio hosts the embedding and decision models, which fit on a single NVIDIA L4 and use about 7.2 GB of GPU memory.

The evaluation compared three RAG pipelines on 75 labelled questions across four cases. The decision gate had the highest accuracy and was the only pipeline that held full performance on image-only questions, while the BGE reranker avoided wrong answers but struggled with image-based questions, escalating most of them. This suggests decision models can do more than rank passages; they can also judge whether visual evidence supports an answer, though the results are from a single tutorial test.

FAQ
What does the d1-3B decision model do in this RAG pipeline?
It reranks retrieved pages by relevance and checks whether they contain enough evidence before anything reaches the generation model. If no candidate passes, the pipeline retries with a wider search or opens a support ticket.
How much GPU memory do the embedding and decision models use?
Both models fit on a single NVIDIA L4 and use about 7.2 GB of GPU memory.
What happens to questions that the system cannot answer?
They become tickets that appear on a support dashboard, where a representative can reply by email; the reply is saved to the knowledge base so similar questions can be answered next time.
Daily Dose of Data ScienceRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleGoogle Flow bundles Gemini Omni and Nano Banana for beginner video