Fresh Air Match: local AI that gets you outside without tracking you
说明与用途
Fresh Air Match 使用本地 MiniLM 模型快速、私密地建议三项短途户外活动,满足用户约束。
问题
Users want quick, privacy‑preserving outdoor activity suggestions based on mood and constraints.
结果
The app delivers three curated outdoor activities within user constraints, preserving privacy and ensuring deterministic safety filtering.
工作流
- Collect user constraints (time, weather, company, energy, access, free‑text mood).
- Apply deterministic safety/access filters to a curated catalogue of 16 activities.
- Run local MiniLM embeddings on the free‑text note.
- Rank remaining activities by cosine similarity.
- Return top three activities with time bounds, plan, bring list, and safety reminder.
证据
Fresh Air Match turns a short description of your mood into three small outdoor activities you can actually do.
It filters a curated catalogue of 16 activities using the hard constraints first. Only the eligible activities reach the semantic-ranking stage.
A local sentence-transformers/all-MiniLM-L6-v2 ONNX model then compares the note with those activities and returns the three closest matches.
The model runs locally through ONNX Runtime. Preference text is not sent to a hosted model, and the app asks for no precise location.
Semantic similarity never overrides a hard constraint. The server first removes activities that do not fit the requested time, company, weather, setting, energy, or access requirements.
I ran ten unit and integration tests covering: input validation and length limits; catalogue integrity; time, weather, company, setting, energy, and accessibility filters; semantic ranking; privacy and safety statements; and real ONNX inference when the model artifacts are present.
- 记录日期: 2026-11-01T06:13:50.873Z