Request body
Response
How confidence is computed
Confidence derives from the top-3 RRF retrieval scores (normalised to[0, 1]), with a bonus for a strong single-chunk signal and a penalty when the LLM signals it could not find an answer in the documentation.
Recommended client behavior
deflect: true→ show the answer with a “That answered my question” dismissal and a “Continue to submit ticket” escape hatch.deflect: falseor request failure → submit the form normally. Never block the user.- Follow-up questions → call the chat endpoint with
thread_idset to the returnedconversation_id.
deflection trace and surfaces in analytics. Prefer zero code? Use the drop-in form deflector script.