refactor: 문장 생성 파이프라인 최적화#67
Merged
Merged
Conversation
- SentenceReranker 제거 (N=3 후보가 동일 문장 반복으로 실효성 없음) - 컨텍스트 요약기에 gpt-4o-mini 적용으로 비용 절감 - 시스템 프롬프트 압축 (불필요한 예시 제거) - 대화 히스토리 조회 5턴 → 3턴으로 축소 - 컨텍스트 요약기 개선: 장소 컨텍스트는 항상 관련 있음으로 판단 - conversation_messages 테이블에 (user_id, created_at) 복합 인덱스 추가 - 평가셋 id=27 추가 및 평가자 프롬프트 개선 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
작업 내용
SentenceReranker제거 — N=3 후보가 동일 문장 반복 출력으로 실효성 없음gpt-4o-mini적용 — 단순 판단 태스크에 gpt-4o 불필요, 비용 절감conversation_messages테이블에(user_id, created_at)복합 인덱스 추가변경 이유
리랭킹·컨텍스트 요약 호출 비용 절감 및 장소 컨텍스트가 무관 판정되던 품질 이슈 수정
테스트
./gradlew test -Dtags=ai로 평가 테스트 실행Closes #66