My grandpa's recipes lived in WhatsApp voice memos, so I built him an offline AI cookbook
Описание и применение
Система преобразует голосовые сообщения от дедушки в карточки рецептов, сохраняя его стиль речи и отмечая непонятные части, а затем экспортирует их в PDF.
Задача
Grandpa’s cooking knowledge was only in voice memos, making it hard to retrieve and share recipes.
Результат
The system produced accurate recipe cards that Grandpa praised for speaking exactly like him, with an unclear list for ambiguous quantities.
Рабочий процесс
- 1. Record voice memo in WhatsApp
- 2. Transcribe with faster‑whisper (large‑v3, int8 on CPU) using an initial_prompt to preserve Tamil terms
- 3. Send transcript to Qwen2.5‑7B via Ollama with a system prompt that enforces no invented quantities and returns JSON
- 4. Parse JSON to obtain title, ingredients, steps, tips, unclear
- 5. Render recipe card in Streamlit and export to PDF with WeasyPrint
Доказательства
When he says "a handful of dal," the card says "a handful of dal" and adds a flag: ask Thatha how big his hand is.
I want to be specific instead of just saying "privacy." These are recordings of my grandfather's voice. Some are the last ones where he's telling a story and cooking at the same time. I wasn't comfortable uploading them to a service I can't see inside of, so everything runs on my laptop and nothing leaves it.
He put his glasses on, held the pages at arm's length, and read the sambar one slowly. Then he said: "Who wrote this? It's exactly how I talk."
- Дата записи: 2026-10-02T07:40:44.606Z