Commit 724dfe5
feat: AI-generated rescue playbooks from call history analysis
- Rewrite PlaybooksView with preset date range buttons (week/month/year)
and custom date picker; shows analyzed call count after generation
- Add "Use in Rescue" button to promote AI templates into rescue_playbooks
so they appear in CustomerGraph's Create Action modal
- Fix playbooks edge function: use call_history table (not call_sessions),
upgrade to llama-3.3-70b-versatile, fix POST response key to playbooks
- Remove hardcoded DEFAULT_PLAYBOOKS and auto-seeding from api-rescue-playbooks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 80c1960 commit 724dfe5
File tree
3 files changed
+219
-204
lines changed- src/components/DashboardViews
- supabase/functions
- api-rescue-playbooks
- playbooks
3 files changed
+219
-204
lines changed
0 commit comments