Phase 5: Full AI engine + caselaw seed data (23 FL cases)
fl_ai_engine.py: Complete Ollama integration with 7-step pipeline: rule-based issue tagging, caselaw matching (3rd DCA-prioritized), case context serialization, prompt construction, Ollama HTTP call (llama3.1 at 192.168.2.10:11434), JSON parsing with fence-strip, and fl.analysis persistence with attorney referral chatter alert. fl_caselaw_data.xml: 23 seeded Florida cases covering modification threshold (Daly, Regan, Pimm, El Kohen, Rolfe), income imputation (Barner, Sitterson), self-employment (Smith, Young), timesharing (Freid, Kennedy, Boykin), domestic violence (Conlin, Kahle), default judgment (Lindsey, North), residency (Fults), parenting class (Maddox), fee waiver (Abdool, Kielbania), disclosure, withholding, above-schedule, and discovery sanctions. fl_case.py: trigger_ai_analysis() wired to engine.analyze_case(); returns form popup of fl.analysis result. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
'data/ir_sequence.xml',
|
||||
'data/fl_deadline_rules.xml',
|
||||
'data/mail_templates.xml',
|
||||
'data/fl_caselaw_data.xml',
|
||||
# Views — backend (actions before menus so menuitem refs resolve)
|
||||
'views/fl_case_views.xml',
|
||||
'views/fl_party_views.xml',
|
||||
|
||||
Reference in New Issue
Block a user