Defend a RAG chatbot from hallucination and out-of-context answers
A customer support chatbot answers questions from a short retrieved context. Configure its system prompt and refusal template so it cites the source span, stays grounded in the context, and refuses when the answer isn’t there.
rag-groundingDefend a RAG chatbot from hallucination and out-of-context answersAPI keys →
Start the lab
A new attempt provisions a fresh sandbox session. The session is bound to this browser only — sign in required to create and continue a lab attempt.
Loading lab…
Sandbox terminal
Run real shell commands in an ephemeral cloud sandbox. Every keystroke streams back here.