Hi everyone,
I'm working with an autonomous node that helps users choose the most suitable product from our internal product database. However, around 3 out of 10 interactions fail — the agent either hallucinates, repeats a previously sent product card, or incorrectly answers product-specific follow-up questions.
What’s supposed to happen:
1. The agent asks the user relevant questions to understand their needs.
2. It selects one ideal product using our database (not from the catalog).
3. It sends a WhatsApp card with the selected product.
4. If the user asks for more details, the agent should answer — not resend the card.
- Unfortunately, what often happens is:
- The agent sends the same card again when the user asks for more info.
Or it gives inaccurate or hallucinated answers.
To be clear, in the image you can see the exact instruction prompt I gave to the agent, fully translated:
I'm looking for advice on:
How to connect or chain two autonomous nodes (e.g., one for reasoning, one for verification or filtering).
Techniques or architectures that help vet the quality of responses before sending them.
Whether a scoring mechanism, rule-based filter, or a second LLM could help as a safety net.
Any ideas, examples, or tools would be greatly appreciated.
Thanks in advance!
https://cdn.discordapp.com/attachments/1370105681650258001/1370105682157899886/Captura_de_pantalla_2025-05-08_143009.png?ex=681e49d9&is=681cf859&hm=342a5f40735d929d44e4593bf1f92edb64b7a732795f503e9beb6f4d33515c58&