Skip to content · تخطَّ إلى المحتوى
نبرة Nabra

Reference

Examples

Delivery, restaurant, appointment, field service and HR — one engine.

Results from the built-in example schemas with the default local model. Relative dates use a referenceTime of Thursday 24 September 2026. Only data is shown.

Delivery

Schema delivery_order. Spoken:

«مرحبا، بدي أبعث طلب من مطعم حمادة بالجبيهة للشميساني، اسم المستلم أحمد محمد ورقمه 0791234567، وإذا ممكن يوصل قبل الساعة خمسة.»

data
{
  "pickup": "مطعم حمادة - الجبيهة",
  "dropoff": "الشميساني",
  "receiverName": "أحمد محمد",
  "receiverPhone": "0791234567",
  "timePreference": "قبل الساعة 5"
}

Restaurant

Schema restaurant_order. Spoken:

«بدي ٣ شاورما دجاج و٢ بطاطا، والتوصيل على خلدا.»

data
{
  "items": [
    { "name": "شاورما دجاج", "quantity": 3, "notes": null },
    { "name": "بطاطا", "quantity": 2, "notes": null }
  ],
  "address": "خلدا",
  "customerName": null,
  "phone": null
}

missingFields: customerName, phone — the app asks for them next.

Appointment

Schema appointment_booking. Spoken:

«بدي أحجز عند الدكتور أحمد بكرا الساعة خمسة العصر، اسمي سارة ورقمي 0781234567.»

data
{
  "customerName": "سارة",
  "phone": "0781234567",
  "doctor": "أحمد",
  "date": "2026-09-25",
  "time": "17:00"
}

«العصر» makes 17:00 certain. Without it, the time would be uncertain with reason am_pm_assumed.

Field service

Schema field_service_request. Spoken:

«المكيف ما بيبرد، أنا بالصويفية قرب مكة مول، اسمي خالد ورقمي 0795551234، والموضوع مستعجل.»

data
{
  "customerName": "خالد",
  "phone": "0795551234",
  "problem": "المكيف ما بيبرد",
  "location": "الصويفية قرب مكة مول",
  "urgency": "urgent"
}

HR leave

Schema hr_leave_request. Spoken:

«أنا سامر، بدي إجازة سنوية من الأحد للخميس بسبب سفر.»

data
{
  "employeeName": "سامر",
  "leaveType": "annual",
  "startDate": "2026-09-27",
  "endDate": "2026-10-01",
  "reason": "سفر"
}

Said on a Thursday, «الخميس» means next week's Thursday — returned, but marked uncertain (weekday_is_today) for confirmation.