admin
59e0938b72
Implement Claude Haiku 3.5 for financial extraction
- Use Haiku 3.5 (claude-3-5-haiku-latest) for financial extraction by default
- Automatically adjust maxTokens to 8192 for Haiku (vs 16000 for Sonnet)
- Add intelligent fallback to Sonnet 4.5 if Haiku validation fails
- Add comprehensive test script for Haiku financial extraction
- Fix TypeScript errors in financial validation logic
Benefits:
- ~50% faster processing (13s vs 26s estimated)
- ~92% cost reduction (--.014 vs --.15 per extraction)
- Maintains accuracy with validation fallback
Tested successfully with Stax Holding Company CIM:
- Correctly extracted FY3=4M, FY2=1M, FY1=6M, LTM=1M
- Processing time: 13.15s
- Cost: --.0138
2025-11-10 14:44:37 -05:00
..
2025-11-10 02:43:47 -05:00
2025-11-09 21:07:22 -05:00
2025-11-10 14:44:37 -05:00
2025-07-31 16:18:53 -04:00
2025-11-09 21:07:22 -05:00
2025-11-09 21:07:22 -05:00
2025-07-31 16:18:53 -04:00
2025-07-27 13:29:26 -04:00
2025-07-28 19:46:46 -04:00
2025-07-30 22:02:17 -04:00
2025-07-31 09:55:14 -04:00
2025-07-30 22:02:17 -04:00
2025-07-31 09:55:14 -04:00
2025-11-10 06:33:41 -05:00
2025-11-09 21:07:22 -05:00
2025-07-27 20:25:46 -04:00
2025-07-31 16:18:53 -04:00
2025-11-09 21:07:22 -05:00
2025-11-10 06:35:07 -05:00
2025-07-31 09:55:14 -04:00
2025-08-01 17:51:45 -04:00
2025-08-01 17:51:45 -04:00
2025-07-31 09:55:14 -04:00
2025-08-01 14:57:56 -04:00
2025-08-01 17:51:45 -04:00
2025-11-09 21:07:22 -05:00
2025-11-06 20:58:26 -05:00
2025-07-31 16:18:53 -04:00
2025-08-01 17:51:45 -04:00
2025-11-09 21:07:22 -05:00