ponshu-room-lite/lib/services
Ponshu Developer bcba78a533 feat(ai): Gemini 2段階解析実装(OCR→フル解析)でhallucination低減
Stage1でOCR専念(name/brand/prefecture確定)、Stage2で確定済み制約を
プロンプトに埋め込み残フィールドを推定する2段階フロー。
東魁→東魁盛のような銘柄補完hallucination緩和が目的。

- 直接APIモード(consumer APK)のみ2段階。プロキシ/キャッシュは従来通り。
- Stage1失敗時は1段階フォールバック(堅牢性維持)
- AnalyzingDialog: stageNotifier対応・ステップ1/2のメッセージ切り替え表示
- APIコール数は実質2倍(1日20回→実質10回相当)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 16:37:57 +09:00
..
analysis_cache_service.dart refactor: replace disk cache with in-memory session cache (v1.0.33) 2026-04-12 08:13:18 +09:00
api_usage_service.dart feat: AI使用回数トラッキング + クォータ上限時ドラフト保存 2026-04-16 17:58:00 +09:00
backup_service.dart fix(stability): エラーハンドリング強化・クラッシュ防止 (v1.0.45) 2026-04-23 07:31:21 +09:00
device_service.dart fix: 外部コードレビュー指摘の修正4件 2026-04-11 08:14:37 +09:00
draft_service.dart feat: AI使用回数トラッキング + クォータ上限時ドラフト保存 2026-04-16 17:58:00 +09:00
gamification_service.dart feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
gemini_exceptions.dart fix: code review fixes — data integrity, safety, architecture 2026-04-10 08:26:53 +09:00
gemini_service.dart feat(ai): Gemini 2段階解析実装(OCR→フル解析)でhallucination低減 2026-04-23 16:37:57 +09:00
image_batch_compression_service.dart fix: address code review findings - crash fixes, proxy OCR accuracy, lint cleanup 2026-04-15 13:30:00 +09:00
image_compression_service.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
image_path_repair_service.dart fix: address code review findings - crash fixes, proxy OCR accuracy, lint cleanup 2026-04-15 13:30:00 +09:00
level_calculator.dart Fix compilation error in SakePriceDialog 2026-01-13 18:13:23 +09:00
license_service.dart security: ライセンスキーを flutter_secure_storage へ移行、Pro UI ちらつき修正 2026-04-23 10:23:18 +09:00
mbti_compatibility_service.dart feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
mbti_diagnosis_service.dart feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
mbti_types.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
migration_service.dart fix: address remaining code audit findings and bump to v1.0.32 2026-04-12 07:25:24 +09:00
network_service.dart fix: address remaining code audit findings and bump to v1.0.32 2026-04-12 07:25:24 +09:00
pdf_service.dart feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
pricing_calculator.dart v1.0.8 - Original (Ponshu Room Lite MVP Complete) 2026-01-11 17:17:29 +09:00
pricing_helper.dart v1.0.8 - Original (Ponshu Room Lite MVP Complete) 2026-01-11 17:17:29 +09:00
sake_recommendation_service.dart feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
sakenowa_auto_matching_service.dart refactor: SakeItemのdisplayData setter危険性を排除し、テストを追加 2026-04-16 23:40:48 +00:00
sakenowa_recommendation_service.dart feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
sakenowa_service.dart fix: address remaining code audit findings and bump to v1.0.32 2026-04-12 07:25:24 +09:00
sakenowa_similar_recommendation_service.dart fix: Resolve all flutter analyze warnings (39 -> 0 issues) 2026-02-21 10:32:02 +09:00
shuko_diagnosis_service.dart fix: address code review findings - crash fixes, proxy OCR accuracy, lint cleanup 2026-04-15 13:30:00 +09:00