{ "predict": { "traces": [], "train": [], "demos": [ { "augmented": true, "description": "البنك الأهلي NAJRAN 08:06:29 08:06:29 التجاري -030 مدفوعات سداد الهيئة العامة", "reasoning": "The description describes a standard payment transaction (\"مدفوعات سداد\") and does not contain any keywords indicating rejection, reversal, or failure.", "is_failed_transaction": false, "confidence": "high" }, { "augmented": true, "description": "IPIN#20230718SANCBKNCBK6B82411718178291 شركة مويل العربيه المحدودة", "reasoning": "The description represents a standard purchase or payment transaction to a company (\"شركة مويل العربيه المحدودة\") with a reference number. It does not contain any keywords indicating failure, reversal, or cancellation.", "is_failed_transaction": false, "confidence": "high" }, { "augmented": true, "description": "حوالة فورية صادرة 9123112300204000/ شركة كن الرقمية لخدمات الاعمال/موردين : شركة مقدم 30% عقد موقع", "reasoning": "The description indicates a successful outgoing instant transfer (حوالة فورية صادرة) for a business service payment (30% contract down payment). There are no keywords indicating failure, rejection, or reversal.", "is_failed_transaction": false, "confidence": "high" }, { "augmented": true, "description": "رسوم حوالة فورية صادرة 9128012400882701/مؤسسة ماجد الصاعدي للمقاولات/قيمة رواتب مدد لشهر 1-2024 المؤسسة", "reasoning": "The description indicates a successful outward transfer (رسوم حوالة فورية صادرة) for employee salaries. There are no keywords indicating failure, reversal, or cancellation.", "is_failed_transaction": false, "confidence": "high" } ], "signature": { "instructions": "Classify whether a bank transaction description indicates a failed,\nreversed, refunded, rejected, or cancelled transaction.\n\nConsider both Arabic and English text. Common Arabic failure indicators include:\nمرفوض، مرفضة، استرجاع، مرتجع، الغاء، ملغاة، رفض، استرداد، إعادة، فشل، عكس، تصحيح.\nCommon English indicators include: refund, reversed, reversal, failed, rejected,\ncancellation, correction.", "fields": [ { "prefix": "Description:", "description": "The bank transaction description text" }, { "prefix": "Reasoning:", "description": "Brief explanation of why this transaction is or is not failed" }, { "prefix": "Is Failed Transaction:", "description": "True if the transaction is failed/reversed/refunded/rejected/cancelled" }, { "prefix": "Confidence:", "description": "Confidence level of the classification" } ] }, "lm": null }, "metadata": { "dependency_versions": { "python": "3.12", "dspy": "3.1.3", "cloudpickle": "3.1" } } }