feat(cody): Stage 1 + Stage 2 pipeline + verify UI (ADR-0005 Phase A-E)#585
Merged
Conversation
ai-server raw_posts pipeline 에 cody 4-step 추가:
- Stage 1 (cody_describe): 일반 코디 사진 → mood / silhouette obj /
color_palette / details / items (category_path derive, *_confidence,
details) / ocr.{raw_text, normalized.{brands, products, prices}}
- Stage 2 (cody_formula): 텍스트-only Gemini → must_keep / replaceable /
core_combination
- search_document: Stage 1 prompt 안에서 생성 (별 LLM 호출 X)
- cody_embedding: gemini-embedding-2 (output_dim=768) → pgvector
DB:
- raw_posts.cody_analysis jsonb (Phase A-C)
- raw_posts.cody_embedding vector(768) + ivfflat index (Phase D)
api-server:
- RawPost DTO 에 cody_analysis 노출 (JsonValue passthrough)
- entity 에 cody_embedding column 추가 (DTO 미노출 — Stage 3 RPC 내부 only)
web admin:
- CodyAnalysisCard 신규 (mood/silhouette/details/items/OCR/style_formula/
search_document) — read-only debug 카드
- PipelineTimeline 에 cody_describe / cody_formula / cody_embedding label
pipeline_version v0.3.3. raf 의 e2e 검증으로 다국가 currency parsing
(KRW/JPY/USD), brand 정규화, silhouette 3-way 분리, embedding 768-dim
적재까지 확인.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
raw_posts pipeline 에 cody Stage 1/2 + search_document + embedding 추가 (ADR-0005).
Pipeline (4 steps):
Schema (
raw_posts):cody_analysis jsonb— Phase A-C 모든 필드cody_embedding vector(768)+ ivfflat index — Phase DWeb admin:
CodyAnalysisCard신규 (mood/silhouette/details/items/OCR/style_formula/search_document)PipelineTimeline에 cody_* step label검증: raf 의 e2e 로 다국가 currency parsing, brand 정규화, silhouette 3-way 분리, embedding 768-dim 적재 확인. pipeline_version v0.3.3.
Test plan
ADR
decoded-docs/Architecture/adr/ADR-0005-cody-stage1-pipeline-extension.md🤖 Generated with Claude Code