feat(ai): 자연어 입력 시 분류·결제수단 자동 추천

사용자의 실제 카테고리·계좌 후보를 AI에 전달해 그 중에서 선택(할루시네이션 방지 검증).
라면→식비, 삼성카드→해당 계좌 등 폼 자동 채움 확장.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
sb
2026-07-05 13:47:52 +09:00
co-authored by Claude Opus 4.8
parent 82eea0b908
commit 53326f089b
4 changed files with 45 additions and 7 deletions
@@ -307,7 +307,8 @@ public class AccountService {
*/
public ParsedEntryResponse parseText(NotificationRequest req) {
java.time.LocalDate today = java.time.LocalDate.now();
java.util.Optional<ParsedEntryResponse> ai = aiEntryParser.parse(req.getText(), today);
java.util.Optional<ParsedEntryResponse> ai =
aiEntryParser.parse(req.getText(), today, req.getCategoryHints(), req.getWalletHints());
if (ai.isPresent() && ai.get().isRecognized()) {
return ai.get();
}