Skip to content

[Fix] Few-shot 검색 입력 정규화와 길이 제한 적용 - #288

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

[Fix] Few-shot 검색 입력 정규화와 길이 제한 적용#288
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이 필요한지 작업 내용을 자세하게 설명해주세요

  • Few-shot 검색 질의와 후보 문서의 HTML 태그 제거
  • script, style 및 HTML 주석이 임베딩 입력에 포함되지 않도록 처리
  • HTML 엔티티와 반복 공백 및 줄바꿈 정규화
  • 직무, JD, 문항, 답변, 태그별 최대 길이 제한 적용
  • 블록 태그와 인라인 태그의 텍스트 결합 방식 구분
  • 일반 비교 표현의 꺾쇠 문자가 삭제되지 않도록 HTML 패턴 제한
  • HTML 정규화 및 답변 길이 제한 회귀 테스트 추가

📸 작업 화면 스크린샷

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

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

🚨 관련 이슈 번호 [#286 ]

- Few-shot 검색 질의와 후보 문서의 HTML 태그 제거
- script, style 및 HTML 주석이 임베딩 입력에 포함되지 않도록 처리
- HTML 엔티티와 반복 공백 및 줄바꿈 정규화
- 직무, JD, 문항, 답변, 태그별 최대 길이 제한 적용
- 블록 태그와 인라인 태그의 텍스트 결합 방식 구분
- 일반 비교 표현의 꺾쇠 문자가 삭제되지 않도록 HTML 패턴 제한
- HTML 정규화 및 답변 길이 제한 회귀 테스트 추가
@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 19 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: 7b6b3f8e-8948-44c4-8c30-27a2a62118ec

📥 Commits

Reviewing files that changed from the base of the PR and between f3ba017 and 4bb9a1c.

📒 Files selected for processing (2)
  • src/main/java/com/jobdri/jobdri_api/domain/analysis/service/ai/fewshot/FewShotSearchTextBuilder.java
  • src/test/java/com/jobdri/jobdri_api/domain/analysis/service/ai/fewshot/FewShotSearchTextBuilderTest.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 6e5af85 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