o2o-infinith-backend/app/models
Mina Choi 71b605eaa6 Merge branch 'wip/channel-brand-2026-05-29'
채널 확장 + 브랜드 자산 파이프라인을 main에 통합.

신규/주요 변경:
- 5채널 외 부가 수집 (틱톡/IG·FB 영문/네이버 카페/카카오톡) — collect_extras.py
- 브랜드 자산: 홈페이지 로고 URL + CSS 색상 추출 (color_extractor.py) + Gemini Vision 로고 묘사 (vision.py)
- 채널 로고 비교: 공식 로고와 각 채널 프로필 이미지 일치 여부 평가
- 인스타/페북 audit 빌더 분리 (instagram_audit.py, facebook_audit.py)
- mock_urls.py: 78개 병원 영문 채널 51건 + 필드 캐노니컬 순서 정규화
- ReportInput/PlanInput 신규 채널 필드 추가
- ChannelBrandingRule literal "missing" → "N/A"

teammate eed5772와의 conflict 해결:
- ClinicSnapshot/YouTubeAudit: teammate가 신뢰 못하는 필드 제거 (established/years_in_business/price_range/media_appearances/medical_tourism/nearest_station/subscriber_rank)
- services/analysis.py: teammate의 _build_clinic_snapshot/_build_youtube_audit/duration helpers + 우리의 _naver_blog_summary 둘 다 보존
- imports: youtube_diagnosis_prompt + build_instagram_accounts/build_facebook_pages 모두 채택

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-29 16:40:21 +09:00
..
__init__.py api 1차 포매팅 2026-04-20 14:41:00 +09:00
analysis.py chore: schema/model 잔여 sync (이전 커밋에 빠진 스키마 필드) 2026-05-29 10:46:15 +09:00
clinic.py llm 붙임 및 리포트 생성 확인 2026-05-14 16:16:09 +09:00
common.py plan report 이름 통일 및 코드 정리 2026-05-18 17:15:50 +09:00
file.py file 업로드 엔드포인트 추가 (Azure Blob 연동) 2026-05-19 16:13:31 +09:00
plan.py chore: schema/model 잔여 sync (이전 커밋에 빠진 스키마 필드) 2026-05-29 10:46:15 +09:00
report.py WIP: channel-brand merge + Optional 모델 완화 + collect_extras rename + mock_urls 영문 채널 51건 2026-05-29 16:22:17 +09:00
status.py plan report 이름 통일 및 코드 정리 2026-05-18 17:15:50 +09:00