Start with access control
The chatbot should only retrieve information the user is allowed to access. Permissions should follow existing roles, teams, documents, and systems wherever possible.
Without access control, a chatbot can accidentally expose confidential information.
Use trusted sources
Define approved knowledge sources such as policy documents, help centers, product docs, ticket history, or internal SOPs.
Each answer should ideally cite sources so users can verify the response.
Add safety and review controls
Use logging, prompt rules, blocked topics, feedback capture, confidence checks, and fallback routes.
Sensitive actions such as refunds, account changes, legal advice, or HR decisions should include human review or approval.
Monitor quality after launch
Track answer helpfulness, unresolved questions, hallucination reports, cost, latency, and escalation rate. A chatbot should improve over time through evaluation and content updates.