Files
nexus/wiki/concepts/HouseholdInventoryTracking.md
2026-04-23 00:02:55 +08:00

1.6 KiB
Raw Blame History

title, type, tags, sources, last_updated
title type tags sources last_updated
Household Inventory Tracking concept
2026-04-22

Household Inventory Tracking

Definition

Agent 维护家庭物资库存记录JSON/数据库),追踪物品名称、数量、存放位置(冰箱/储藏室/地下室),支持多种输入方式(照片 OCR、文字更新、小票识别并提供自然语言查询接口。

Data Model

{
  "item": "milk",
  "quantity": "2 gallons",
  "location": "fridge",
  "last_updated": "2026-04-22T10:30:00",
  "low_stock_threshold": "1 gallon"
}

Input Methods

Method Example Mechanism
照片 拍摄冰箱内容 → Vision 模型提取物品 视觉 AI OCR
文字 "We're out of eggs" / "Bought 2 gallons of milk" 自然语言解析
小票 拍摄购物小票 → 自动扣减/更新 收据 OCR

Query Interface

通过 Telegram/Slack 等消息平台自然语言查询:

  • "Do we have butter?" → 返回位置和数量
  • "What's running low?" → 列出低于阈值的物品
  • "Generate grocery list" → 汇总低库存物品 + 食谱所需食材

Storage Location

~/household/inventory.json 或通过 Agent 记忆系统(如 OpenClaw MEMORY存储