[Feat] corpus import/embedding batch script 추가 및 분류 조회 안정화 (#38)#101
Conversation
|
Warning Review limit reached
More reviews will be available in 5 minutes and 44 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
✨ 어떤 이유로 PR를 하셨나요?
📋 세부 내용 - 왜 해당 PR이 필요한지 작업 내용을 자세하게 설명해주세요
corpus 임베딩 일괄 동기화를 위한 Python 배치 스크립트
scripts/sync_corpus_embeddings.py를 추가했습니다.COHERE_API_KEY기반으로 Cohere 임베딩을 생성하고 pgvector 테이블에 upsert 하도록 구현했습니다.Cohere rate limit 대응을 위해 재시도 및 backoff 로직을 추가했습니다.
Cohere
/v2/embed응답 파싱을 DTO 바인딩 대신 JSON 직접 파싱 방식으로 보완했습니다.DetailClassification조회 시 계층 분류를 함께 fetch 하도록 변경해LazyInitializationException발생 가능성을 줄였습니다.📸 작업 화면 스크린샷
🚨 관련 이슈 번호 [#38]