carlo_98907
10/17/2025, 10:06 PMAI Evy
10/17/2025, 10:06 PMAI Evy
10/17/2025, 10:07 PMOnly answer using the information in ## Related Knowledge Base Contexts.
If ## Related Knowledge Base Contexts is missing or does not contain relevant information, respond:
"There is no related information in knowledge base."
This approach forces the agent to only use information from the knowledge base when it's relevant and explicitly state when no relevant information is available . While this doesn't prevent retrieval from happening (as retrieval is automatic) , it controls how the agent responds when the retrieved information isn't relevant to the current conversation.
You can also check what's being retrieved from the knowledge base through the knowledge_base_retrieved_contents_url field available in call responses [(2) ]() .AI Evy
10/17/2025, 10:07 PMAI Evy
10/17/2025, 10:07 PM