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 설명
작업 내용
1. AI Summary Client 아키텍처 구현
SummaryClient인터페이스를 정의하여 구현체 교체가 용이하도록 설계.test프로파일:MockSummaryClient(테스트용 더미 데이터 반환).!test프로파일:RagSummaryClient(실제 Feign Client 호출).2. Feign Client 및 통신 로직
RagSummaryFeign구현, n8n Webhook URL(ai.server.url)과 연동.POST /webhook/summary-initialPOST /webhook/summary-resummarize[{...}]) 형태로 내려오는 점을 고려하여List<T>형태로 수신 후 첫 번째 요소를 반환하도록 처리.3. Facade 및 서비스 연동
createLink) 시 최초 요약 요청, 요약 재생성(recreateSummary) 시 재요약 요청 로직 연결.try-catch로 잡아 에러 로그를 남기고null을 반환. 메인 트랜잭션(링크 생성 등)은 롤백되지 않도록 처리.4. DTO 정의
RagInitialSummaryReq,RagRegenerateSummaryReqRagInitialSummaryRes(요약문),RagRegenerateSummaryRes(신규 요약문 + 차이점)