Analyze Case Notes
smi_analyzeScores free-text case notes against 5 weighted gap-analysis signals (no prior SMI order, high-relevance case type, known online presence, date of loss, social media mentioned) and returns a RECOMMEND/REVIEW/NO ACTION verdict, a confidence rating, which signals were/were not detected, a suggested product, and a best-effort orderData prefill (subject, matter id, case type, date of loss, handles/urls, suggested scope) for smi_create_deep_report. Runs entirely locally; makes no network calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Free-text case notes to score against the 5-signal gap-analysis rubric. | |
| weights | No | Optional override of all 5 signal weights; normalized to sum 100. | |
| thresholds | No | Optional override of the RECOMMEND/REVIEW verdict thresholds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Weighted total score, 0-100. | |
| signals | Yes | Per-signal scoring breakdown. | |
| verdict | Yes | Overall gap-analysis verdict. | |
| orderData | Yes | Best-effort prefill for smi_create_deep_report; fields absent when undetectable. | |
| confidence | Yes | Confidence in the verdict, derived from how many of the 5 signals were detected. | |
| signalsDetected | Yes | Signal ids whose fraction is 1 (fully detected). | |
| suggestedProduct | Yes | Recommended SMI product based on the detected subject kind. | |
| signalsNotDetected | Yes | Signal ids whose fraction is below 1 (not detected). |