I Built a Roman Urdu Stock Book for My Friend's Grocery Store
说明与用途
Stock Diary 将混合语言的库存记录转换为可审核的账本条目,为小型杂货店提供实时余额和低库存警报。
问题
Hamza’s grocery store stock was kept in paper and memory, mixing Urdu, Roman Urdu, and English, making accurate tracking difficult.
结果
Stock Diary converts mixed-language stock notes into accurate, reviewable ledger entries, enabling real-time balance tracking and low-stock alerts for a small grocery store.
工作流
- 1. User types a stock movement sentence (e.g., "20 carton basmati aaye, 5 packet haldi nikle").
- 2. Gemma 4 parses the sentence into proposed movements with product, quantity, unit, direction, and balances.
- 3. The app displays the proposals and highlights any unit or quantity errors.
- 4. User reviews and confirms the movements; only confirmed entries are written to the ledger.
- 5. The ledger updates balances and flags low-stock items.
- 6. User can ask natural language queries (e.g., "kis cheez ka stock kam hai?") and receive answers based on the ledger.
证据
Stock Diary turns “20 carton basmati aaye, 5 packet haldi nikle” into two proposed stock movements.
The model helps read the sentence; plain Python checks the numbers and posts the confirmed movement to a SQLite ledger.
Gemma only works out which question he is asking; Python answers from the ledger.
- 记录日期: 2026-10-04T17:55:57.190Z