Skip to content

Gemini LLM 호출 입력·출력·호출 횟수 로깅 #218

Description

@tnals0924

어떤 기능인가요?

추가하려는 기능에 대해 간결하게 설명해주세요

엑셀 분석 파이프라인에서 실제 Gemini LLM을 호출할 때 어떤 input이 들어가고 어떤 output이 나오는지, 그리고 한 job에서 몇 번 호출되는지 로그로 관찰할 수 있게 한다. 카테고리 분류·이미지 매칭이 모두 거치는 단일 지점(GeminiClient)에 로깅을 추가한다.

📝 작업 상세 내용

  • GeminiClient에 호출별 순번(callNo) 카운터 추가
  • 요청 시 model·systemInstruction·userContent 로깅
  • 응답 시 소요시간·raw output 로깅
  • 호출 실패(ApiException/GenAiIOException) 시 순번·소요시간 로깅

📁 참고 자료 (선택)

  • 호출 지점: infrastructure/client/.../ai/GeminiClient.kt
  • 배치 호출부: core/.../importjob/worker/ImportJobProcessor.kt

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions