Conversation
- Cohere 설정 프로퍼티와 RestClient 기반 embedding client 추가 - /v2/embed 요청/응답 DTO 및 search_document/search_query 호출 분리 - API key, 입력, 응답 개수 및 1024차원 검증 로직 추가 - Cohere API 오류를 기존 GeneralException 체계로 변환 - 외부 API 호출 없는 단위 테스트와 수동 검증 문서 추가
- CohereCorpusEmbeddingClient를 global CohereEmbeddingClient 위임 구조로 변경 - cohere.api-key/base-url/embedding 설정으로 Cohere 설정 통합 - corpus embedding 모델 참조를 CohereProperties 기준으로 정리 - 기존 pgvector 저장 및 similarity search 구조는 유지 - Cohere corpus 위임 테스트 보강
- CohereEmbeddingClient에 HttpClient5 connection pool 적용 - 429/5xx 응답에 bounded exponential backoff 재시도 추가 - Retry-After 헤더 기반 대기 처리 - readTimeout 예외 매핑 회귀 테스트 추가
[Feat] Cohere Embed API 클라이언트 1차 연동
…-client-for-corpus [Fix] Cohere 임베딩 클라이언트 풀링 및 재시도 적용
- JobPosting embedding text builder 추가 - CohereEmbeddingClient 기반 JobPosting embedding service 추가 - Corpus 저장 패턴을 재사용한 PGVector upsert sync service 추가 - job_posting_embeddings 테이블 및 HNSW cosine index migration 추가 - JobPosting embedding text, Cohere 위임, upsert sync 테스트 추가
- job_posting_embeddings 기반 Similarity Search 구현 - Cohere query embedding과 PGVector cosine distance 검색 적용 - 현재 공고 및 타 사용자 공고 제외 필터 추가 - 유사 공고 전용 응답 DTO 추가 - Retrieval SQL 바인딩 및 결과 매핑 테스트 추가
## 변경 사항 - JobPosting Similarity Retrieval 결과를 Python 비동기 분석 worker context에 전달 - 유사 공고의 주요업무, 자격요건, 우대사항을 보조 RAG Context로 사용 - 현재 공고를 최우선으로 사용하는 Prompt 규칙 추가 - 유사 공고 Context를 Analysis fingerprint에 포함 - Retrieval 실패 시 빈 Context로 분석을 계속하는 fail-open 적용 ## 호환성 - 외부 API 응답 변경 없음 - RabbitMQ 메시지 구조 변경 없음 - DB 및 migration 변경 없음 - 분석 Structured Output 변경 없음 - 기존 worker context 요청은 `similarJobPostings=[]`로 하위 호환 ## 테스트 - BackEnd 전체 테스트 성공 - analysis-server 전체 테스트 71/71 성공 - Java compile 성공 - Python compileall 성공 - 양쪽 git diff --check 성공
…rity-retrieval [Feat] JobPosting 유사도 검색 서비스 추가
…ob-posting-rag [Feat] 유사 채용공고 RAG 컨텍스트와 fingerprint 연동
- MockApply 홈 카드 응답에 analysisInProgress 필드 추가 - PENDING/RUNNING 분석 비동기 작업 기준으로 채점중 여부 계산 - 홈/최근/검색 목록에서 동일한 채점중 플래그를 내려주도록 수정 - 홈 목록 응답의 채점중 상태 검증 테스트 추가
- analysisInProgress 조회 패턴을 위한 analysis_async_tasks 복합 인덱스 추가 - 운영 수동 migration과 schema.sql에 동일 인덱스 반영 - PENDING/RUNNING 분석 작업 모두 홈 응답에서 채점중으로 내려가도록 테스트 보강
…-progress-flag [Fix] 모의지원 홈 응답에 자소서 채점중 여부 추가
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ 어떤 이유로 PR를 하셨나요?
📋 세부 내용 - 왜 해당 PR이 필요한지 작업 내용을 자세하게 설명해주세요
📸 작업 화면 스크린샷
🚨 관련 이슈 번호 [ ]