Testing: AI Engine
Test AI chat, insights, predictions, and semantic search.
Demo Credentials
| Role | Password | Tenant | |
|---|---|---|---|
| Admin | daniel.harris@example.com | Demo1234! | demo-association |
Test 1: AI Chat
- 🟢 Easy — Click Around
- 🔵 Advanced — API / Code
- Click AI Engine in the sidebar
- Type: "How many active members do we have?"
- ✅ AI responds with real data from your database
- Try: "What events are coming up?"
- Try: "Show me the revenue breakdown"
curl -X POST https://ams.14.jugaar.ai/api/v1/ai/chat \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"message": "How many active members do we have?"}'
Expected: 200 OK with AI response using real member data.
Test 2: AI Health
- 🟢 Easy — Click Around
- 🔵 Advanced — API / Code
- Check the AI health status indicator
- ✅ Shows green when LLM is connected
curl -s https://ams.14.jugaar.ai/api/v1/ai/health \
-H "Authorization: Bearer $TOKEN"
Test 3: AI Insights
- 🟢 Easy — Click Around
- 🔵 Advanced — API / Code
- Click on "Insights" in the AI section
- ✅ See auto-generated insights about your data
curl -s https://ams.14.jugaar.ai/api/v1/ai/insights \
-H "Authorization: Bearer $TOKEN"
Test 4: Churn Prediction
- 🟢 Easy — Click Around
- 🔵 Advanced — API / Code
- Go to a member profile in the Members module
- Look for AI churn risk indicator
- ✅ Shows risk level and factors
curl -X POST https://ams.14.jugaar.ai/api/v1/ai/predict/churn/{member_id} \
-H "Authorization: Bearer $TOKEN"
Test 5: Anomaly Detection
- 🔵 Advanced — API / Code
curl -X POST https://ams.14.jugaar.ai/api/v1/ai/predict/anomalies \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"module": "finances", "lookback_days": 30}'
Test 6: Available Models
- 🔵 Advanced — API / Code
curl -s https://ams.14.jugaar.ai/api/v1/ai/models \
-H "Authorization: Bearer $TOKEN"