arabic-agent-eval / data /functions.json
Mosescreates's picture
Upload folder using huggingface_hub
1013726 verified
Raw
History Blame Contribute Delete
26.1 kB
{
"functions": [
{
"name": "search_flights",
"name_ar": "البحث عن رحلات",
"description": "Search for flights between two cities",
"description_ar": "البحث عن رحلات طيران بين مدينتين",
"parameters": {
"type": "object",
"properties": {
"from_city": {
"type": "string",
"description": "Departure city",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"to_city": {
"type": "string",
"description": "Arrival city",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"date": {
"type": "string",
"description": "Travel date",
"x-mtg": {
"slot_type": "temporal",
"script": "any",
"mode": "advisory"
}
},
"passengers": {
"type": "integer",
"description": "Number of passengers",
"x-mtg": {
"slot_type": "numeric",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"from_city",
"to_city",
"date"
]
}
},
{
"name": "book_hotel",
"name_ar": "حجز فندق",
"description": "Book a hotel room",
"description_ar": "حجز غرفة في فندق",
"parameters": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"check_in": {
"type": "string",
"description": "Check-in date",
"x-mtg": {
"slot_type": "temporal",
"script": "any",
"mode": "advisory"
}
},
"check_out": {
"type": "string",
"description": "Check-out date",
"x-mtg": {
"slot_type": "temporal",
"script": "any",
"mode": "advisory"
}
},
"guests": {
"type": "integer",
"description": "Number of guests",
"x-mtg": {
"slot_type": "numeric",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"city",
"check_in",
"check_out"
]
}
},
{
"name": "send_message",
"name_ar": "إرسال رسالة",
"description": "Send a message to a contact",
"description_ar": "إرسال رسالة إلى جهة اتصال",
"parameters": {
"type": "object",
"properties": {
"recipient": {
"type": "string",
"description": "Recipient name or number",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"platform": {
"type": "string",
"description": "Messaging platform",
"enum": [
"whatsapp",
"sms",
"telegram",
"email"
],
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
},
"message": {
"type": "string",
"description": "Message content",
"x-mtg": {
"slot_type": "free_text",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
}
},
"required": [
"recipient",
"platform",
"message"
]
}
},
{
"name": "get_weather",
"name_ar": "حالة الطقس",
"description": "Get current weather for a city",
"description_ar": "الحصول على حالة الطقس الحالية لمدينة",
"parameters": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
}
},
"required": [
"city"
]
}
},
{
"name": "search_restaurants",
"name_ar": "البحث عن مطاعم",
"description": "Search for restaurants by cuisine or location",
"description_ar": "البحث عن مطاعم حسب نوع المطبخ أو الموقع",
"parameters": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"cuisine": {
"type": "string",
"description": "Type of cuisine",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"budget": {
"type": "string",
"description": "Budget level",
"enum": [
"cheap",
"moderate",
"expensive"
],
"x-mtg": {
"slot_type": "numeric",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"city"
]
}
},
{
"name": "book_table",
"name_ar": "حجز طاولة",
"description": "Reserve a table at a restaurant",
"description_ar": "حجز طاولة في مطعم",
"parameters": {
"type": "object",
"properties": {
"restaurant": {
"type": "string",
"description": "Restaurant name",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"date": {
"type": "string",
"description": "Reservation date",
"x-mtg": {
"slot_type": "temporal",
"script": "any",
"mode": "advisory"
}
},
"time": {
"type": "string",
"description": "Reservation time",
"x-mtg": {
"slot_type": "temporal",
"script": "any",
"mode": "advisory"
}
},
"guests": {
"type": "integer",
"description": "Number of guests",
"x-mtg": {
"slot_type": "numeric",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"restaurant",
"date",
"time",
"guests"
]
}
},
{
"name": "get_prayer_times",
"name_ar": "مواقيت الصلاة",
"description": "Get prayer times for a city",
"description_ar": "الحصول على مواقيت الصلاة لمدينة",
"parameters": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"date": {
"type": "string",
"description": "Date (optional, defaults to today)",
"x-mtg": {
"slot_type": "temporal",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"city"
]
}
},
{
"name": "convert_currency",
"name_ar": "تحويل العملات",
"description": "Convert between currencies",
"description_ar": "تحويل بين العملات",
"parameters": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "Amount to convert",
"x-mtg": {
"slot_type": "numeric",
"script": "any",
"mode": "advisory"
}
},
"from_currency": {
"type": "string",
"description": "Source currency code",
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
},
"to_currency": {
"type": "string",
"description": "Target currency code",
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"amount",
"from_currency",
"to_currency"
]
}
},
{
"name": "translate_text",
"name_ar": "ترجمة النص",
"description": "Translate text between languages",
"description_ar": "ترجمة نص بين اللغات",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text to translate",
"x-mtg": {
"slot_type": "free_text",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"from_lang": {
"type": "string",
"description": "Source language",
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
},
"to_lang": {
"type": "string",
"description": "Target language",
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"text",
"from_lang",
"to_lang"
]
}
},
{
"name": "get_news",
"name_ar": "آخر الأخبار",
"description": "Get latest news headlines",
"description_ar": "الحصول على آخر عناوين الأخبار",
"parameters": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "News category",
"enum": [
"politics",
"sports",
"technology",
"business",
"entertainment"
],
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
},
"country": {
"type": "string",
"description": "Country code",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
}
},
"required": [
"category"
]
}
},
{
"name": "set_reminder",
"name_ar": "تعيين تذكير",
"description": "Set a reminder for a specific time",
"description_ar": "تعيين تذكير في وقت محدد",
"parameters": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Reminder message",
"x-mtg": {
"slot_type": "free_text",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"datetime": {
"type": "string",
"description": "When to remind",
"x-mtg": {
"slot_type": "temporal",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"message",
"datetime"
]
}
},
{
"name": "calculate_zakat",
"name_ar": "حساب الزكاة",
"description": "Calculate zakat on wealth",
"description_ar": "حساب الزكاة على الأموال",
"parameters": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "Total wealth amount",
"x-mtg": {
"slot_type": "numeric",
"script": "any",
"mode": "advisory"
}
},
"currency": {
"type": "string",
"description": "Currency code",
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
},
"type": {
"type": "string",
"description": "Type of wealth",
"enum": [
"cash",
"gold",
"silver",
"stocks",
"business"
],
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"amount",
"currency"
]
}
},
{
"name": "find_quran_verse",
"name_ar": "البحث في القرآن",
"description": "Search for a Quran verse by text or topic",
"description_ar": "البحث عن آية قرآنية بالنص أو الموضوع",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query",
"x-mtg": {
"slot_type": "free_text",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"surah": {
"type": "integer",
"description": "Surah number (optional)",
"x-mtg": {
"slot_type": "numeric",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"query"
]
}
},
{
"name": "get_stock_price",
"name_ar": "سعر السهم",
"description": "Get current stock price",
"description_ar": "الحصول على سعر السهم الحالي",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Stock ticker symbol",
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
},
"market": {
"type": "string",
"description": "Stock market",
"enum": [
"tadawul",
"adx",
"dfm",
"nasdaq",
"nyse"
],
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
}
},
"required": [
"symbol",
"market"
]
}
},
{
"name": "order_food",
"name_ar": "طلب طعام",
"description": "Order food delivery",
"description_ar": "طلب توصيل طعام",
"parameters": {
"type": "object",
"properties": {
"restaurant": {
"type": "string",
"description": "Restaurant name",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"items": {
"type": "string",
"description": "Food items to order",
"x-mtg": {
"slot_type": "free_text",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"address": {
"type": "string",
"description": "Delivery address",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
}
},
"required": [
"restaurant",
"items",
"address"
]
}
},
{
"name": "get_traffic",
"name_ar": "حالة المرور",
"description": "Get traffic conditions between two points",
"description_ar": "الحصول على حالة المرور بين نقطتين",
"parameters": {
"type": "object",
"properties": {
"from_location": {
"type": "string",
"description": "Starting point",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"to_location": {
"type": "string",
"description": "Destination",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
}
},
"required": [
"from_location",
"to_location"
]
}
},
{
"name": "schedule_meeting",
"name_ar": "جدولة اجتماع",
"description": "Schedule a meeting with participants",
"description_ar": "جدولة اجتماع مع المشاركين",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Meeting title",
"x-mtg": {
"slot_type": "free_text",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"date": {
"type": "string",
"description": "Meeting date",
"x-mtg": {
"slot_type": "temporal",
"script": "any",
"mode": "advisory"
}
},
"time": {
"type": "string",
"description": "Meeting time",
"x-mtg": {
"slot_type": "temporal",
"script": "any",
"mode": "advisory"
}
},
"participants": {
"type": "string",
"description": "Participant names",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"location": {
"type": "string",
"description": "Meeting location or link",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
}
},
"required": [
"title",
"date",
"time",
"participants"
]
}
},
{
"name": "send_money",
"name_ar": "تحويل أموال",
"description": "Send money to a recipient",
"description_ar": "تحويل أموال إلى مستلم",
"parameters": {
"type": "object",
"properties": {
"recipient": {
"type": "string",
"description": "Recipient name",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"amount": {
"type": "number",
"description": "Amount to send",
"x-mtg": {
"slot_type": "numeric",
"script": "any",
"mode": "advisory"
}
},
"currency": {
"type": "string",
"description": "Currency code",
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"recipient",
"amount",
"currency"
]
}
},
{
"name": "get_time",
"name_ar": "الوقت الحالي",
"description": "Get current time in a city",
"description_ar": "الحصول على الوقت الحالي في مدينة",
"parameters": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
}
},
"required": [
"city"
]
}
},
{
"name": "check_visa_status",
"name_ar": "حالة التأشيرة",
"description": "Check visa application status",
"description_ar": "التحقق من حالة طلب التأشيرة",
"parameters": {
"type": "object",
"properties": {
"application_id": {
"type": "string",
"description": "Application ID",
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
},
"passport_number": {
"type": "string",
"description": "Passport number",
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"application_id",
"passport_number"
]
}
},
{
"name": "book_car",
"name_ar": "حجز سيارة",
"description": "Book a ride or rent a car",
"description_ar": "حجز رحلة أو استئجار سيارة",
"parameters": {
"type": "object",
"properties": {
"pickup": {
"type": "string",
"description": "Pickup location",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"destination": {
"type": "string",
"description": "Destination",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"type": {
"type": "string",
"description": "Service type",
"enum": [
"ride",
"rental"
],
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"pickup",
"destination",
"type"
]
}
},
{
"name": "search_jobs",
"name_ar": "البحث عن وظائف",
"description": "Search for job listings",
"description_ar": "البحث عن فرص عمل",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Job title or keyword",
"x-mtg": {
"slot_type": "free_text",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"city": {
"type": "string",
"description": "City name",
"x-mtg": {
"slot_type": "named_entity",
"script": "mixed",
"transliteration_allowed": true,
"mode": "advisory"
}
},
"type": {
"type": "string",
"description": "Employment type",
"enum": [
"full-time",
"part-time",
"remote",
"contract"
],
"x-mtg": {
"slot_type": "identifier",
"script": "any",
"mode": "advisory"
}
}
},
"required": [
"title"
]
}
}
],
"count": 22
}