FastMCP_RecSys

by attarmau
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Manages environment variables for both frontend and backend configurations of the fashion recommender.

  • Provides containerized deployment of the fashion recommendation system with separate containers for frontend, backend, and database services.

  • Powers the backend API that handles image processing and recommendation requests for the fashion recommender system.

FastMCP_RecSys

MCP를 활용한 CLIP 기반 패션 추천 시스템입니다.

폴더 구조

지엑스피1

1단계

동일한 자격 증명을 추가하려면 mongo 서비스를 업데이트하세요.

mongo: image: mongo:latest ports: - "27017:27017" environment: MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: example volumes: - mongo-data:/data/db

참고: FastAPI 앱에서 환경 변수를 사용하므로 Mongo URL은 다음과 같아야 합니다. MONGO_URL = "mongodb://root:example@mongo:27017"

실행되면 브라우저를 열고 👉 http://localhost:8081 로 이동하세요.

로그인 방법: 사용자 이름: root / 비밀번호: example (임시 설정)

2단계

docker-compose up --build

이렇게 하면:

  • 핫 리로드로 FastAPI 백엔드 시작
  • MongoDB 시작
  • Mongo Express 시작(DB UI용)(이 모드에서는 프런트엔드가 자동으로 빌드되지 않음)

3단계

📌 빠른 팁

http://localhost:8000/docs 에서 앱을 방문하세요.

MongoDB UI 보기: http://localhost:8081 (사용자: root, 비밀번호: example)

mongo-seed는 태그 컬렉션을 채우기 위해 시작 시 한 번만 실행됩니다.

📌 UI용 샘플 컴포넌트

  1. 이미지 업로드
  2. 제출 버튼
  3. 의류 태그 + 추천 표시
-
security - not tested
A
license - permissive license
-
quality - not tested

사용자가 의류 이미지를 업로드하면 시각적 분석을 기반으로 태그와 추천을 받을 수 있는 CLIP 기반 패션 추천 시스템입니다.

  1. Folder Structure
    1. Step 1
    2. Step 2
    3. Step 3
ID: aoxux8ydhh