Read the current menu, not an old copy.
Menus used to be copied in at setup, so they could go out of date. I replaced those copies with tools that read the restaurant’s current menu and hours each time the assistant needs them.
AI ASSISTANT & RESTAURANT DATAI built menu and opening-hours tools for Nomly, Crave’s restaurant AI assistant—with location checks and clear handling when information is missing.

01 / THE EXPERIENCE
Which location? What’s on its menu? Are the hours confirmed? These details shape the information the assistant receives.
“What time do we close?” needs a location. I added checks that return the matching restaurants and ask for clarification when the choice is ambiguous.
Open full-size screen (opens in a new tab)Open full-size screen (opens in a new tab)
I kept unconfirmed hours separate from a closed status. When hours aren’t confirmed, the tool says so instead of reporting the restaurant as closed. The assistant can then explain what still needs checking.
Open full-size screen (opens in a new tab)Open full-size screen (opens in a new tab)
Real Nomly components with sample conversations, not a live session.
02 / MY CONTRIBUTION
I focused on how the assistant gets restaurant information—and what happens when that information cannot support an answer.
Menus used to be copied in at setup, so they could go out of date. I replaced those copies with tools that read the restaurant’s current menu and hours each time the assistant needs them.
I added explicit responses for partial menus, unavailable dishes and failed reads, with regression tests covering these cases. A missing result should not become a confident claim.
Menu results distinguish unreadable items, omitted content and unavailable dishes. Confirmed schedules are required before returning opening hours or an open/closed status.
I also worked on workspace-specific credentials and setup retries, with ownership checks to keep each restaurant connected to the right account.
Provisioning uses database locks across concurrent workers, checks workspace ownership and preserves usable credentials if a later setup step fails.
These are my contributions within the Crave team’s product. The broader assistant and interface were team work.
2026 tools · TypeScript · API integration · PostgreSQL · Tool calling
03 / EARLIER FOUNDATION · 2025
Earlier, I built document, PDF and email retrieval with Supabase / pgvector, and implemented saved conversations and multi-step chat workflows with LangChain and LangGraph.
Document search and point-of-sale data used separate paths. This was the 2025 foundation, not today’s full product.
This case explains the tools I built and how the code handles each situation. It doesn’t report usage or business results for the live product.
The menu and hours tools are used in chat, not in every part of the assistant. The conversation screens use real Nomly components with sample data.
BUILDING AN AI FEATURE?
Tell me what it needs to answer, where the data lives, and what should happen when that data is missing.