피드로 돌아가기
Repair Before Replace: an AI-powered circularity assistant with persistent repair memory
Dev.toDev.to
AI/ML

Gemini 2.5 Flash와 Backboard 기반의 Memory-aware AI Circularity Assistant 구현

Repair Before Replace: an AI-powered circularity assistant with persistent repair memory

Prasad Thiriveedi2026년 4월 20일5intermediate

Context

기존 AI 이미지 분류기가 가진 Stateless한 특성으로 인한 단순 일회성 진단 한계 직면. 사용자의 과거 수리 성공/실패 경험이 반영되지 않아 개인화된 최적의 수리 방법 제안이 어려운 구조적 문제 존재.

Technical Solution

  • Gemini 2.5 Flash의 Multimodal 기능을 통한 이미지 분석 및 Schema-constrained JSON 출력으로 일관된 데이터 구조 확보
  • Backboard를 활용한 Persistent Memory 레이어 구축으로 사용자별 수리 이력 및 선호도 저장
  • Auth0 for Agents 기반의 Identity 레이어 통합을 통한 세션 간 개인화된 메모리 유지 체계 설계
  • '사용자 식별 $\rightarrow$ 과거 이력 추출 $\rightarrow$ 프롬프트 주입 $\rightarrow$ AI 분석'으로 이어지는 Context-aware 추론 파이프라인 구현
  • 정교한 UX 설계를 통한 DIY 가능 여부와 안전성 체크의 엄격한 분리 및 신뢰성 중심의 권장 로직 적용

- LLM 출력의 안정적 렌더링을 위해 JSON Schema 제약 조건 설정 여부 확인 - 단순 로그 저장이 아닌 다음 추천에 영향을 주는 Feedback Loop 구조 설계 검토 - AI 서비스 설계 시 기능적 범위(Scope)를 좁혀 예측 가능성과 신뢰도를 높이는 전략 적용

원문 읽기