Intent matching
Normalised tokens, a synonym map (coeliac → gluten, ship → delivery) and stem matching score every message against a 20-entry knowledge base. Closest hit wins, and the confidence score is shown in the trace.
Support
She tracks live orders, walks the allergen matrix item by item, prices a cake brief in four questions, and pulls the counter team in the moment something needs judgement. Turn on Show AI reasoning under the chat to see the intent and confidence behind each reply.
Under the hood
Built for a bakery, not bolted on. Everything below is running on this page right now — the prototype needs no backend to demo.
Normalised tokens, a synonym map (coeliac → gluten, ship → delivery) and stem matching score every message against a 20-entry knowledge base. Closest hit wins, and the confidence score is shown in the trace.
If nothing scores, Levenshtein distance finds the nearest intent inside two edits — so "delievery" still reaches the delivery rules instead of a dead end.
The cake quote is a four-slot dialogue: occasion, servings, date, direction. State persists across turns, prices the brief, then hands it to the events desk.
Explicit request, allergen severity, complaints and anything outside the knowledge base open a ticket with the entire transcript attached. Customers never repeat themselves.
We are a mixed bakery. Flour, butter, egg, milk, sesame, soy and tree nuts are in the air and on the benches. Saying otherwise would be marketing, not information.
Baked in a separate room with dedicated tins, wiped benches and sealed packaging. Not a certified zero-gluten facility.
Five products, all listed with the vegan tag on the menu. Laminated pastry contains cultured butter — no vegan version exists yet.
Nut bakes run in the morning before the GF room opens. Every item has a printed allergen card available at the counter or from the assistant.
For the business owner
Roughly 7 in 10 enquiries are the same eleven questions: hours, allergens, delivery, tracking, cakes, trade. The assistant absorbs those instantly and passes only judgement calls to staff — with the context already written down.