Zhejiang University 2025 B/S Course Project
- The backend expects the AI microservice to be reachable via the
AI_SERVICE_URLenvironment variable (defaults tohttp://ai-service:5000, which is wired up when running with Docker Compose). - When running the Spring Boot backend locally, export
AI_SERVICE_URLto point to your runningai-serviceinstance, e.g.http://localhost:5000, to enable the new AI-assisted endpoints. - The AI microservice now combines a CLIP-based zero-shot vision model with heuristics to produce multi-type tags (scene, subject, mood, etc.). Tune it via
ENABLE_VISION_MODEL,VISION_MODEL_ID, and related env vars insideai-service.
- The
tools/mcp-image-searchfolder contains a standalone Model Context Protocol server that exposes the photo search endpoints to LLM clients (e.g., Claude Desktop). - Configure it with
PICTURE_API_BASE_URL,PICTURE_AI_BASE_URL, andPICTURE_API_TOKEN, then register thesearch_imagestool inside your MCP-compatible client to let models retrieve photos through natural dialogue.
- See docs/README.md for full backend/frontend/AI-service documentation, setup, and run instructions.