File size: 3,343 Bytes
e49d42b
 
 
 
 
 
 
985d9db
 
e49d42b
 
 
 
 
985d9db
 
e49d42b
 
 
 
 
985d9db
 
55a875a
e49d42b
 
 
 
985d9db
 
55a875a
e49d42b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
  "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"
    }
  }
}