Commit Graph

5 Commits

Author SHA1 Message Date
pro
bb55ea8e08 fix:Vertex AI API 호출 시 role 필드 추가
- Vertex AI는 contents에 role: 'user' 필수
- Google AI Studio와 Vertex AI 분기 처리

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 08:45:43 +09:00
pro
d824b45fc0 feat:AI 설정에 Vertex AI 서비스 계정 인증 방식 추가
- AiConfig 모델에 Vertex AI 헬퍼 메소드 추가
- AI 설정 UI에 인증 방식 선택 (API 키 / Vertex AI)
- Vertex AI 선택 시 프로젝트 ID, 리전, 서비스 계정 경로 입력
- BusinessCardOcrService가 DB 설정 기반으로 동작
- Google AI Studio와 Vertex AI 모두 지원

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 08:08:30 +09:00
pro
d1660aa9fe fix:Docker 컨테이너 내 서비스 계정 파일 경로 추가
- /var/www/sales/apikey/ 경로 우선 검색
- Docker 볼륨 마운트된 sales 폴더에서 접근 가능

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 00:07:42 +09:00
pro
0bf41cc273 refactor:명함 OCR을 Vertex AI API 방식으로 변경
- Google AI Studio API에서 Vertex AI API로 전환
- 서비스 계정 OAuth2 인증 방식 적용
- JWT 토큰 생성 및 액세스 토큰 획득 로직 추가
- 서비스 계정 파일 다중 경로 검색 지원

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 00:03:29 +09:00
pro
a834beaa10 feat:명함 OCR 시스템 구현
- AiConfig 모델: AI API 설정 관리
- BusinessCardOcrService: Gemini Vision API 호출
- BusinessCardOcrController: OCR API 엔드포인트
- AiConfigController: AI 설정 CRUD
- create.blade.php: 드래그앤드롭 명함 인식 UI
- AI 설정 관리 페이지 추가
2026-01-27 23:00:52 +09:00