feat(admin): Ask Chat RAG 백필 관리 기능 개선 - #219
Merged
Merged
Conversation
현재 embedding version 기준 Target·Indexed·Failed 집계 API를 추가하고, 어드민 페이지 진입 및 배치 완료 시 현황을 자동 갱신하도록 개선함
지정한 횟수만큼 백필 배치를 순차 실행하고, 배치 실패 또는 Target 소진 시 후속 실행을 중단하도록 개선함
GET /local/dummy-login 호출 시 더미 사용자·ROUTINE 관심사·일반 및 Ask Chat 지갑을 멱등 생성한 뒤 액세스 토큰을 발급하도록 개선함
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.
📝 요약(Summary)
주요 변경사항
RAG 백필 현황 조회
FAILED와DEAD_LETTER문서를 Failed에 포함합니다.연속 배치 실행
failedCount > 0, HTTP 요청 실패 또는 현황 조회 실패 시 후속 실행을 중단합니다.로컬 개발 환경 초기화
GET /local/dummy-login호출 시 ID 11111 더미 사용자를 멱등 생성합니다.ROUTINE관심사, 크리스탈 1,000, Ask Chat 무료 3회·유료 1,000회 지갑을 함께 준비합니다.ON CONFLICT DO NOTHING을 적용해 반복 로그인 시 기존 잔액을 초기화하지 않습니다.local프로필에서만 활성화됩니다.테스트
🔗 Related Issue
💬 공유사항
✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.