Horus Chat Test Interface

Test the therapeutic AI chat system with real-time streaming responses

How to Use This Interface
  • Configure your API key and URL in the left sidebar
  • Start a new session or continue with an existing one
  • Type your message and press Enter or click Send
  • Watch real-time streaming responses from the AI
  • Use the analytics tools to monitor session performance

✅ CORS Enabled: This interface now works properly with the updated server that includes CORS middleware for cross-origin requests.

Safety Features

This interface tests the full therapeutic AI system including crisis detection, CBT recommendations, and safety monitoring. All interactions are logged and analyzed for user safety.

Chat Interface
AI is typing...
Welcome to the Horus Chat Test Interface
Ready to begin therapeutic conversation
Session Analytics

Session analytics will appear here after you start chatting.

Technical Details
API Endpoints Being Tested:
POST /v1/chat - Main chat endpoint with streaming support
GET /v1/analytics/session/{session_id} - Session analytics
GET /v1/analytics/user/{user_id} - User analytics
POST /v1/session/{session_id}/end - End session gracefully
GET /v1/session/{session_id}/status - Check session status
                            
Request Format:
{
    "session_id": "your-session-id",
    "user_id": "your-user-id", 
    "message": "Your message here"
}
                            
Response Format (Streaming):
data: {"chunk": "Part of the response"}
data: {"chunk": "More response content"}
data: {"chunk": "Final part"}