Skip to content

[Fix] 동적 Few-shot 선택 모드 로깅 보강 - #287

Merged
whc9999 merged 1 commit into
devfrom
fix/fewshot-selection-safety-cache
Sep 8, 2026
Merged

[Fix] 동적 Few-shot 선택 모드 로깅 보강#287
whc9999 merged 1 commit into
devfrom
fix/fewshot-selection-safety-cache

Conversation

@whc9999

@whc9999 whc9999 commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

✨ 어떤 이유로 PR를 하셨나요?

  • feature 병합
  • 버그 수정(아래에 issue #를 남겨주세요)
  • 코드 개선
  • 코드 수정
  • 배포
  • 기타(아래에 자세한 내용 기입해주세요)

📋 세부 내용 - 왜 해당 PR이 필요한지 작업 내용을 자세하게 설명해주세요

  • FewShotSelectionMode enum 추가
  • 임베딩 선택, 로컬 fallback, 정적 fallback 경로 구분
  • 동적 Few-shot 선택 완료 로그에 selectionMode 추가
  • 선택 캐시에 최초 선택 모드를 함께 저장
  • 캐시 적중 시 기존 선택 모드가 유지되도록 개선
  • 빈 검색 결과와 검색 예외의 정적 fallback 로그 통일
  • Cohere 임베딩 선택 경로 테스트 보강

📸 작업 화면 스크린샷

⚠️ PR하기 전에 확인해주세요

  • 로컬테스트를 진행하셨나요?
  • 머지할 브랜치를 확인하셨나요?
  • 관련 label을 선택하셨나요?

🚨 관련 이슈 번호 [#286]

- FewShotSelectionMode enum 추가
- 임베딩 선택, 로컬 fallback, 정적 fallback 경로 구분
- 동적 Few-shot 선택 완료 로그에 selectionMode 추가
- 선택 캐시에 최초 선택 모드를 함께 저장
- 캐시 적중 시 기존 선택 모드가 유지되도록 개선
- 빈 검색 결과와 검색 예외의 정적 fallback 로그 통일
- Cohere 임베딩 선택 경로 테스트 보강
@whc9999 whc9999 self-assigned this Sep 8, 2026
@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: d7f25d60-27ec-44c2-a2cb-5dd9b4aec0b4

📥 Commits

Reviewing files that changed from the base of the PR and between 516bbf2 and 9e68720.

📒 Files selected for processing (4)
  • src/main/java/com/jobdri/jobdri_api/domain/analysis/service/ai/AnalysisPromptBuilder.java
  • src/main/java/com/jobdri/jobdri_api/domain/analysis/service/ai/fewshot/DefaultFewShotSearchService.java
  • src/main/java/com/jobdri/jobdri_api/domain/analysis/service/ai/fewshot/FewShotSelectionMode.java
  • src/test/java/com/jobdri/jobdri_api/domain/analysis/service/ai/fewshot/DefaultFewShotSearchServiceTest.java

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@whc9999
whc9999 merged commit f3ba017 into dev Sep 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant