https://discord.gg/botpress logo
Inconsistent KnowledgeAgent: Same Query, Random Re...
# 🤝help
s
Critical Issue KnowledgeAgent shows major inconsistency: the same question sometimes produces an answer, sometimes "No helpful answer generated by KB", breaking our conditional workflow. Reproducible Test Case Question tested: "What is X ?" Observed results: Success: 31 results → "Answer generated, needs to be sent manually" Failure: 31 results → "No helpful answer generated by KB" Proof Logs Success : [agent-card] [KnowledgeAgent] [knowledge-query]: Generating answer based on 31 results [agent-card] [KnowledgeAgent] [knowledge-query]: Answer stored in variable --> {{workflow.answer}} Failure : [agent-card] [KnowledgeAgent] [knowledge-query]: Generating answer based on 31 results [agent-card] [KnowledgeAgent] [knowledge-query]: No helpful answer generated by KB Business Impact Workflow takes wrong path randomly Degraded user experience (inconsistency) 😵😵 Condition workflow.answer.length > 0 is correct but useless if KnowledgeAgent is random Technical Questions Temperature parameters: Does KnowledgeAgent use temperature=0.0 for consistency? Similarity threshold: Is there a variable threshold explaining this inconsistency? Retry logic: Can we implement automatic retry when many results but no answer? Solution Request Configuration to force KnowledgeAgent consistency Detailed similarity metrics logs for debugging Built-in automatic retry for edge cases The inconsistency makes our chatbot unpredictable. What configuration guarantees deterministic KnowledgeAgent behavior? @aloof-traffic-22451 @fresh-fireman-491 @wooden-beard-40210
p
Can you show your workflow? Have you tried alternative models and cards (using query kb instead of search kb and vice versa)?
No, I did not use alternative models and cards
4 Views