HomeMemory {Memo}
说明与用途
HomeMemory 是一款个人记忆助手,用户可以拍照记录物品并添加备注,然后用自然语言查询。它使用本地 Gemma 4 模型和 MongoDB Atlas 进行存储和检索,显著降低搜索时间并提升可靠性,特别适合家庭使用。
问题
Families forget small but important items and dates, such as where a spare key is or when a medicine expires.
结果
The system achieved a top‑1 retrieval accuracy of 78% on 10 real items, reducing retrieval time from 10‑15 minutes to 2‑3 minutes.
工作流
- Take or upload a photo of an item
- Add a short note about its location
- Gemma 4 (via Ollama) processes the photo and outputs structured JSON
- EmbeddingGemma creates a vector for the memory
- MongoDB Atlas Vector Search stores and retrieves memories
- User queries in English/Urdu; system returns the photo and note
- Optional confirm‑and‑edit before saving
- Threshold controls whether a match is returned or "not found"
证据
Gemma 4 runs locally through Ollama. It reads each photo and returns structured JSON (category, item, description, readable text, expiry date) and writes the final answers.
MongoDB Atlas Vector Search stores the memories and finds the closest match to a question.
top-1 retrieval accuracy was [X/Y = 78%] on 10 real items.
I built HomeMemory by working with Claude in a chat window, then running and testing everything on my own laptop.
- 记录日期: 2026-10-04T23:55:55.010Z