docs: 콜드메일 IR 분석 문서 축약

- 코드 블록 제거, 파일명:줄번호만 사용
- 116줄 → 105줄로 축약

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
happybell80 2025-10-13 23:45:42 +09:00
parent 61082a7027
commit eacbfd0d05

View File

@ -74,32 +74,21 @@ asyncpg.exceptions.InvalidColumnReferenceError: there is no unique or exclusion
### 우선순위 1: ir_analyzer.py 수정
**query_rag() 함수 (18-45줄):**
- 28줄: url = f"{SKILL_RAG_FILE_URL}/api/search"
- 29-35줄: payload 변경
```
기존: {"document_id": document_id, "query": query}
변경: {"query": query, "team_id": team_id, "limit": 10, "threshold": 0.5}
```
- team_id 파라미터 추가 필요
- 18줄: 파라미터 document_id → team_id로 변경
- 28줄: /api/query → /api/search
- 29-35줄: payload를 query, team_id, limit, threshold로 변경
**call_llm() 함수 (48-74줄):**
- rb8001 LLM 서비스 사용으로 전체 변경
- from app.llm.llm_service import LLMService, LLMRequest
- LLMRequest(message=prompt, user_id="system", robeing_id="rb8001", model="gemini-2.5-flash-lite")
- rb8001 LLM 서비스(app/llm/llm_service.py) 사용으로 전체 변경
- LLMService, LLMRequest import 추가
### 우선순위 2: DB 제약조건 추가
**51123 서버 DB 작업:**
- startup_valuation 테이블에 UNIQUE 제약조건 추가
- 중복 방지 컬럼 조합 확인 필요
- 51123 서버: startup_valuation 테이블 UNIQUE 제약조건 추가
### 우선순위 3: 테스트 재실행
**배포 프로세스:**
1. 로컬 수정 완료
2. git push
3. Gitea Actions 배포 대기
4. docker exec -it rb8001 python tests/test_coldmail_briefing.py --test scheduler
- git push → Gitea Actions 배포 → 테스트 재실행
---