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