--- status: closed closed_date: 2026-03-21 closed_reason: 260320 다형식문서 RAG 계획으로 흡수 또는 구현 완료 tags: [troubleshooting, embedding, gemini, starsandi, goosecouncil, 2차] --- status: closed closed_date: 2026-03-21 closed_reason: 260320 다형식문서 RAG 계획으로 흡수 또는 구현 완료 # 임베딩 2차: StarsAndI·TheGooseCouncil Gemini 2 전환 문제 오픈 ## 상위 원칙 - [0_VALUE 임베딩 정책](../../../../0_VALUE/20_Governance/embedding-policy.md) - [임베딩 1차 로빙 Gemini 2 전환 문제 오픈](./260316_임베딩_1차_로빙_Gemini2_전환_문제오픈.md) (1차 완료 후 이어짐) ## 문제 정의 **StarsAndI·TheGooseCouncil의 임베딩이 0_VALUE 정책과 불일치한다.** 0_VALUE 정책은 Gemini 2, 768d, 전수 교체를 요구한다. 1차(로빙) 완료 후 2차로 진행. 닫기 비용이 큰 항목을 포함한다. ### 왜 2차로 분리했는가 - **StarsAndI**: 카탈로그 5044개 재임베딩(153MB JSON), add_star_embeddings.py 전환, 비용·시간 부담 - **TheGooseCouncil**: 가치 평가·캘리브레이션용 임베딩, 전환 검증 필요 ### 현상(증상) | 프로젝트 | 모델 | 차원 | 비고 | |----------|------|------|------| | StarsAndI | OpenAI text-embedding-3-small | 1536 | 사용자 발화 + 카탈로그 5044개 | | TheGooseCouncil | OpenAI text-embedding-3-small | 1536 | calibrate_value_model, test_value_state_decision | ## 현재 상태 - StarsAndI: recommend.py, add_star_embeddings.py, 153MB 카탈로그 JSON - TheGooseCouncil: tests/, .env.local, OPENAI_EMBEDDING_MODEL ## 기대 상태 (2차) - Gemini 2, 768d - StarsAndI: 카탈로그 전체 재임베딩, _embed_text() 전환 - TheGooseCouncil: API 경로 전환 ## 영향 범위 (2차) **StarsAndI**: recommend.py, add_star_embeddings.py, candidates_merged_projection_embeddings_v1.json(5044개 재생성), time_recommend_*.py, usage_repository.py, Recommend_Pipeline.md **TheGooseCouncil**: calibrate_value_model.py, test_value_state_decision.py, .env.local ## 닫힘 조건 (2차, 열어둠) - 1차 완료 후 2차 플랜 실행 - StarsAndI 카탈로그 재임베딩 완료, recommend.py 전환 - TheGooseCouncil 전환 완료 - 일정·우선순위는 2차 플랜에서 확정 ## 이 문서가 여는 리서치 - [임베딩 2차 StarsAndI·GooseCouncil 현황 리서치](../research/rag/260316_임베딩_2차_StarsAndI_GooseCouncil_현황_리서치.md) ## 관련 문서 - [임베딩 1차 로빙 Gemini 2 전환 문제 오픈](./260316_임베딩_1차_로빙_Gemini2_전환_문제오픈.md) - [임베딩 2차 StarsAndI·GooseCouncil 전환 계획](../plans/260316_임베딩_2차_StarsAndI_GooseCouncil_전환_계획.md) - [임베딩 전체 프로젝트 현황 및 SSOT 리서치](../research/rag/260316_임베딩_전체프로젝트_현황_및_SSOT_리서치.md)