I Built a Roman Urdu Stock Book for My Friend's Grocery Store
Описание и применение
Приложение Stock Diary преобразует записи о товаре, написанные на смеси урду, романского урду и английского, в проверяемые записи в базе данных SQLite, обеспечивая актуальные балансы и оповещения о низком запасе.
Задача
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