RAG - Agentic second-pass retrieval tool #8

Open
opened 2026-08-20 14:34:22 +00:00 by francesco · 0 comments
Owner

Fixed per-intent source slots can miss what's actually relevant to a specific query.

Give the agent a cerca_altre_fonti(query, fonte=None) tool it can call on top of the pre-fetched context when it judges the initial RAG results insufficient.

Reuses the existing ReAct/tool-loop infra (call limits, iteration cap, Langfuse spans), only costs extra when actually invoked, and doesn't touch the guaranteed-slots contract the way a "retrieve-broad-then-route" rewrite would

Fixed per-intent source slots can miss what's actually relevant to a specific query. Give the agent a _cerca_altre_fonti(query, fonte=None)_ tool it can call on top of the pre-fetched context when it judges the initial RAG results insufficient. Reuses the existing ReAct/tool-loop infra (call limits, iteration cap, Langfuse spans), only costs extra when actually invoked, and doesn't touch the guaranteed-slots contract the way a "retrieve-broad-then-route" rewrite would
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
peacelink/ai-assistant#8
No description provided.