Skip to main content

7 docs tagged with "moderation"

View all tags

Chat Message Flow

End-to-end flow for a single chatbot message — moderation, agent selection, RAG retrieval, tool execution, and streaming response from /api/chatbot/stream

Chatbot Conversation Pipeline — Complete Code Trace

Definitive source of truth for the entire chatbot request lifecycle, from HTTP request arrival to response return. Every code path, every tool, every third-party call, every expected result. Generated 2026-04-02 from a full read of every file in the pipeline.

Chatbot Moderation System

Multi-layer content moderation for the chatbot — blocklist patterns, LLM-based abuse detection, user restriction tracking, and crisis escalation to 988 / church staff

Crisis Detection & Safety Response

How both the chatbot and voice agent detect crisis signals (suicidal ideation, domestic violence, medical emergencies), immediately route to safety resources (988), and escalate to pastoral staff

Voice Agent Call Lifecycle

Non-technical walkthrough of a complete voice call — from phone ring through greeting, RAG lookup, tool use, potential Care Agent handoff, and post-call DB writes

Voice Turn Processing Pipeline

Step-by-step pipeline for each voice turn — noise filtering, moderation check, RAG retrieval, LLM inference, tool execution, and TTS output — implemented via on_user_turn_completed callbacks and call_handler.py utilities