File size: 76,640 Bytes
24e1ac8
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
{"type":"DEBIT","mode":"OTHERS","amount":20.0,"currentBalance":0,"transactionTimestamp":"2023-04-04T18:30:00Z","valueDate":"0001-01-01T00:00:00Z","txnId":25202,"narration":"CASHDEP FIK CHARGE4-04-04-2023","reference":null,"_x_category":"Bank Charges","_x_sub_category":"Bank Service Charges","messages":[{"content":"\nYou are a skilled financial data extractor specializing in Indian bank transactions. Focus on accurately identifying the receiver's name from transaction narrations, even if the format varies.\n","role":"system"},{"content":"\n    # CONTEXT #\n    You are a financial data expert, responsible for classifying Indian bank transactions. Each transaction has attributes:\n        - **Mode**: Transfer method (e.g., NEFT, UPI, RTGS).\n        - **Payee**: Recipient (person or organization).\n        - **Payer**: Sender (person or organization).\n        - **Description**: Additional text, common in UPI\/NEFT\/RTGS.\n\n    Narrations may contain noise (misspellings, abbreviations). Classify the transaction's subcategory based on the narration, amount, and type (credit or debit).\n\n    # OBJECTIVE #\n    1. **Classify `category_level_2`**: Choose the subcategory using provided descriptions, examples, and logic.\n\n    # CATEGORY GUIDELINES #\n    **Cash Withdrawal**: Keywords like 'ATM WDL', 'NWD'. Transaction type: Debit.\n    **Food**: Keywords like 'food', 'meal', 'Swiggy', 'Zomato'. Check UPI transactions for restaurant payments.\n    **Utility_Payments**: Keywords like 'bill payment', 'Euronet', 'Billdesk'.\n    **Salary Received**: Look for company names (not finance firms), salary keywords, and amounts.\n    **Bank Service Charges**: Keywords like 'Charges', 'Fee'. Debit transactions under a certain threshold.\n    **P2P Outward**: Person-to-person transfer (Debit).\n    **Cash Deposit**: Keywords like 'cash deposit'. Transaction type: Credit.\n    **Fuel**: Keywords like 'fuel', 'Indian Oil', 'Petrol'.\n    **Gaming**: Keywords like 'Dream11', 'gaming', 'Rummy'.\n    **Loan EMI Paid**: Keywords like 'loan', 'emi payment', with loan company names (e.g., Navi, Bajaj Finance).\n    **Apparel**: Keywords like 'Zudio', 'Myntra', 'fashion'.\n    **Medical**: Keywords like 'medical', 'Apollo Pharmacy'.\n    **Groceries**: Keywords like 'DMart', 'supermarket', 'grocery'.\n    **Alcohol**: Keywords like 'wine', 'beer', 'vodka'.\n    **Equities Credit**: Keywords like 'CREDIT', 'brokerage firms'.\n    **Equities Debit**: Keywords like 'stock purchase', 'Zerodha'.\n    **Penalties**: Keywords like 'Penalty', 'Charges'. Debit, typically under a threshold.\n    **Tax Liability**: Keywords like 'GST', 'tax payment'.\n    **Electricity**: Keywords like 'electricity bill'.\n    **Train**: Keywords like 'IRCTC', 'train ticket'.\n    **Gold Debit**: Keywords like 'gold debit', 'gold purchase'.\n    **Gold Credit**: Keywords like 'gold credit', 'gold investment'.\n    **Cab**: Keywords like 'Uber', 'OLA', 'cab'.\n    **Bus**: Keywords like 'red bus', 'bus ticket'.\n    **Mutual Funds Credit**: Keywords like 'mutual funds credit', 'MF payouts'.\n    **Mutual Funds Debit**: Keywords like 'mutual funds debit', 'investment'.\n    **Provident Fund Credit**: Keywords like 'pf payout'.\n    **Provident Fund Debit**: Keywords like 'pf contribution'.\n    **Movie**: Keywords like 'BookMyShow', 'BIGTREE ENTERTAINMENT'.\n    **Subscription**: Keywords like 'Apple Services', 'Disney Hotstar'.\n    **Salary Paid**: Keywords like 'salary paid', 'payroll'.\n    **Bonus**: Keywords like 'bonus', 'incentive'.\n    **Professional Services**: Keywords like 'consulting', 'UIDAI', 'PAN'.\n    **Pension**: Keywords like 'pension', 'APY'.\n    **Loan Credit**: Keywords like 'loan disbursement', loan companies (e.g., Bajaj Finance).\n    **Education**: Keywords like 'school', 'fees', 'university'.\n    **Bank Closure**: Keywords like 'account shutdown', 'service end'.\n    **Bounced I\/W Cheque**: Keywords like 'INWARD CHQ'.\n    **Bounced O\/W Cheque**: Keywords like 'OUTWARD CHQ', 'CHQ RET'.\n    **Credit Card Settlement**: Keywords like 'credit card payment', 'settlement'. Debit type.\n    **Dividend**: Keywords like 'DIV', 'INT DIV'.\n    **Hospital**: Keywords like 'hospital', 'Apollo Hospital'.\n    **Bank Interest**: Keywords like 'savings interest', 'INT'.\n    **Bonds Credit**: Keywords like 'bond payout', 'bonds credit'.\n    **Bonds Debit**: Keywords like 'bond purchase', 'bonds debit'.\n    **Fixed Deposit Credit**: Keywords like 'fixed deposit credit', 'e-RD'.\n    **Fixed Deposit Debit**: Keywords like 'fixed deposit debit', 'fd deposit'.\n    **Crypto Credit**: Keywords like 'crypto credit', 'bitcoin payout'.\n    **Crypto Debit**: Keywords like 'crypto debit', 'bitcoin debit'.\n    **Insurance Credit**: Keywords like 'insurance credit', 'policy payout'.\n    **Insurance Debit**: Keywords like 'insurance debit', 'LIC'.\n    **Fixed Deposit Sweep Out**: Keywords like 'fd sweep out'.\n    **Fixed Deposit Sweep In**: Keywords like 'fd sweep in'.\n    **Investment Interest**: Keywords like 'investment interest'.\n    **P2P Lending Credit**: Keywords like 'p2p lending credit', 'peer lending payout'.\n    **P2P Lending Debit**: Keywords like 'p2p lending debit', 'payment'.\n    **NPS Credit**: Keywords like 'NPS credit', 'national pension scheme'.\n    **NPS Debit**: Keywords like 'NPS debit', 'pension scheme payment'.\n    **Reimbursement Credit**: Keywords like 'reimbursement credit', 'REIMBURSE'.\n    **Business Income**: Keywords like 'business earnings'. Credit type.\n    **Business Expense**: Keywords like 'business expense'. Debit type, higher amount.\n    **Tax Rebate**: Keywords like 'tax rebate', 'tax refund'.\n    **Hotels and Stays**: Keywords like 'OYO', 'Airbnb'.\n    **Tolls**: Keywords like 'FASTag', 'tolls'.\n    **Rental**: Keywords like 'rental', 'lease'.\n    **Phone Recharge**: Keywords like 'phone recharge', 'mobile top-up'.\n    **Internet and DTH**: Keywords like 'broadband', 'tv subscription'.\n    **Vehicle Maintenance Expense**: Keywords like 'vehicle maintenance'.\n    **Refunds**: Keywords like 'Refund'. Credit type.\n    **Electronics**: Keywords like 'electronics', 'gadgets'.\n    **Stationery**: Keywords like 'stationery', 'office supplies'.\n    **Sports**: Keywords like 'sports', 'sporting goods'.\n    **Flight**: Keywords like 'flight', 'airfare'.\n    **Courier**: Keywords like 'courier', 'delivery service'.\n    **Household**: Keywords like 'household', 'home supplies'.\n    **Gas**: Keywords like 'gas', 'cooking gas'.\n    **Water**: Keywords like 'water bill'.\n    **Rent Received**: Keywords like 'rent received', 'rental income'.\n    **Rent Paid**: Keywords like 'rent paid', 'lease payment'.\n    **Cleaning Services**: Keywords like 'cleaning services', 'maid service'.\n    **Counseling**: Keywords like 'counseling', 'therapy'.\n    **Charity Donation**: Keywords like 'Donation', 'UNICEF'.\n    **Religious Donation**: Keywords like 'Offering', 'Church'.\n    **Political Donation**: Keywords like 'political donation', 'campaign contribution'.\n    **Fines**: Keywords like 'fines', 'penalty'.\n    **Subsidy**: Keywords like 'government subsidy', 'grant'.\n    **Jewellery**: Keywords like 'jewelry', 'gold', 'diamond'.\n\n    # RESPONSE FORMAT #\n    Return the result as a DICT:\n    {\n        \"category_level_2\": \"Classify based on narration, amount, and type.\"\n    }\n\n    # INPUT #\n    Narration: \"CASHDEP FIK CHARGE4-04-04-2023\"\n    Amount: \"20.0\"\n    Type: \"DEBIT\"\n    ","role":"user"},{"content":"Bank Service Charges","role":"assistant"}]}
{"type":"CREDIT","mode":"OTHERS","amount":1600.0,"currentBalance":0,"transactionTimestamp":"2023-12-12T18:30:00Z","valueDate":"0001-01-01T00:00:00Z","txnId":28735,"narration":"BY TRANSFER \/IMPS\/P2A\/334717385549\/ \/watersudneer\/MISS FEMI TRANSFER FROM 97157008159","reference":null,"_x_category":"Transfer","_x_sub_category":"P2P Inward","messages":[{"content":"\nYou are a skilled financial data extractor specializing in Indian bank transactions. Focus on accurately identifying the receiver's name from transaction narrations, even if the format varies.\n","role":"system"},{"content":"\n    # CONTEXT #\n    You are a financial data expert, responsible for classifying Indian bank transactions. Each transaction has attributes:\n        - **Mode**: Transfer method (e.g., NEFT, UPI, RTGS).\n        - **Payee**: Recipient (person or organization).\n        - **Payer**: Sender (person or organization).\n        - **Description**: Additional text, common in UPI\/NEFT\/RTGS.\n\n    Narrations may contain noise (misspellings, abbreviations). Classify the transaction's subcategory based on the narration, amount, and type (credit or debit).\n\n    # OBJECTIVE #\n    1. **Classify `category_level_2`**: Choose the subcategory using provided descriptions, examples, and logic.\n\n    # CATEGORY GUIDELINES #\n    **Cash Withdrawal**: Keywords like 'ATM WDL', 'NWD'. Transaction type: Debit.\n    **Food**: Keywords like 'food', 'meal', 'Swiggy', 'Zomato'. Check UPI transactions for restaurant payments.\n    **Utility_Payments**: Keywords like 'bill payment', 'Euronet', 'Billdesk'.\n    **Salary Received**: Look for company names (not finance firms), salary keywords, and amounts.\n    **Bank Service Charges**: Keywords like 'Charges', 'Fee'. Debit transactions under a certain threshold.\n    **P2P Outward**: Person-to-person transfer (Debit).\n    **Cash Deposit**: Keywords like 'cash deposit'. Transaction type: Credit.\n    **Fuel**: Keywords like 'fuel', 'Indian Oil', 'Petrol'.\n    **Gaming**: Keywords like 'Dream11', 'gaming', 'Rummy'.\n    **Loan EMI Paid**: Keywords like 'loan', 'emi payment', with loan company names (e.g., Navi, Bajaj Finance).\n    **Apparel**: Keywords like 'Zudio', 'Myntra', 'fashion'.\n    **Medical**: Keywords like 'medical', 'Apollo Pharmacy'.\n    **Groceries**: Keywords like 'DMart', 'supermarket', 'grocery'.\n    **Alcohol**: Keywords like 'wine', 'beer', 'vodka'.\n    **Equities Credit**: Keywords like 'CREDIT', 'brokerage firms'.\n    **Equities Debit**: Keywords like 'stock purchase', 'Zerodha'.\n    **Penalties**: Keywords like 'Penalty', 'Charges'. Debit, typically under a threshold.\n    **Tax Liability**: Keywords like 'GST', 'tax payment'.\n    **Electricity**: Keywords like 'electricity bill'.\n    **Train**: Keywords like 'IRCTC', 'train ticket'.\n    **Gold Debit**: Keywords like 'gold debit', 'gold purchase'.\n    **Gold Credit**: Keywords like 'gold credit', 'gold investment'.\n    **Cab**: Keywords like 'Uber', 'OLA', 'cab'.\n    **Bus**: Keywords like 'red bus', 'bus ticket'.\n    **Mutual Funds Credit**: Keywords like 'mutual funds credit', 'MF payouts'.\n    **Mutual Funds Debit**: Keywords like 'mutual funds debit', 'investment'.\n    **Provident Fund Credit**: Keywords like 'pf payout'.\n    **Provident Fund Debit**: Keywords like 'pf contribution'.\n    **Movie**: Keywords like 'BookMyShow', 'BIGTREE ENTERTAINMENT'.\n    **Subscription**: Keywords like 'Apple Services', 'Disney Hotstar'.\n    **Salary Paid**: Keywords like 'salary paid', 'payroll'.\n    **Bonus**: Keywords like 'bonus', 'incentive'.\n    **Professional Services**: Keywords like 'consulting', 'UIDAI', 'PAN'.\n    **Pension**: Keywords like 'pension', 'APY'.\n    **Loan Credit**: Keywords like 'loan disbursement', loan companies (e.g., Bajaj Finance).\n    **Education**: Keywords like 'school', 'fees', 'university'.\n    **Bank Closure**: Keywords like 'account shutdown', 'service end'.\n    **Bounced I\/W Cheque**: Keywords like 'INWARD CHQ'.\n    **Bounced O\/W Cheque**: Keywords like 'OUTWARD CHQ', 'CHQ RET'.\n    **Credit Card Settlement**: Keywords like 'credit card payment', 'settlement'. Debit type.\n    **Dividend**: Keywords like 'DIV', 'INT DIV'.\n    **Hospital**: Keywords like 'hospital', 'Apollo Hospital'.\n    **Bank Interest**: Keywords like 'savings interest', 'INT'.\n    **Bonds Credit**: Keywords like 'bond payout', 'bonds credit'.\n    **Bonds Debit**: Keywords like 'bond purchase', 'bonds debit'.\n    **Fixed Deposit Credit**: Keywords like 'fixed deposit credit', 'e-RD'.\n    **Fixed Deposit Debit**: Keywords like 'fixed deposit debit', 'fd deposit'.\n    **Crypto Credit**: Keywords like 'crypto credit', 'bitcoin payout'.\n    **Crypto Debit**: Keywords like 'crypto debit', 'bitcoin debit'.\n    **Insurance Credit**: Keywords like 'insurance credit', 'policy payout'.\n    **Insurance Debit**: Keywords like 'insurance debit', 'LIC'.\n    **Fixed Deposit Sweep Out**: Keywords like 'fd sweep out'.\n    **Fixed Deposit Sweep In**: Keywords like 'fd sweep in'.\n    **Investment Interest**: Keywords like 'investment interest'.\n    **P2P Lending Credit**: Keywords like 'p2p lending credit', 'peer lending payout'.\n    **P2P Lending Debit**: Keywords like 'p2p lending debit', 'payment'.\n    **NPS Credit**: Keywords like 'NPS credit', 'national pension scheme'.\n    **NPS Debit**: Keywords like 'NPS debit', 'pension scheme payment'.\n    **Reimbursement Credit**: Keywords like 'reimbursement credit', 'REIMBURSE'.\n    **Business Income**: Keywords like 'business earnings'. Credit type.\n    **Business Expense**: Keywords like 'business expense'. Debit type, higher amount.\n    **Tax Rebate**: Keywords like 'tax rebate', 'tax refund'.\n    **Hotels and Stays**: Keywords like 'OYO', 'Airbnb'.\n    **Tolls**: Keywords like 'FASTag', 'tolls'.\n    **Rental**: Keywords like 'rental', 'lease'.\n    **Phone Recharge**: Keywords like 'phone recharge', 'mobile top-up'.\n    **Internet and DTH**: Keywords like 'broadband', 'tv subscription'.\n    **Vehicle Maintenance Expense**: Keywords like 'vehicle maintenance'.\n    **Refunds**: Keywords like 'Refund'. Credit type.\n    **Electronics**: Keywords like 'electronics', 'gadgets'.\n    **Stationery**: Keywords like 'stationery', 'office supplies'.\n    **Sports**: Keywords like 'sports', 'sporting goods'.\n    **Flight**: Keywords like 'flight', 'airfare'.\n    **Courier**: Keywords like 'courier', 'delivery service'.\n    **Household**: Keywords like 'household', 'home supplies'.\n    **Gas**: Keywords like 'gas', 'cooking gas'.\n    **Water**: Keywords like 'water bill'.\n    **Rent Received**: Keywords like 'rent received', 'rental income'.\n    **Rent Paid**: Keywords like 'rent paid', 'lease payment'.\n    **Cleaning Services**: Keywords like 'cleaning services', 'maid service'.\n    **Counseling**: Keywords like 'counseling', 'therapy'.\n    **Charity Donation**: Keywords like 'Donation', 'UNICEF'.\n    **Religious Donation**: Keywords like 'Offering', 'Church'.\n    **Political Donation**: Keywords like 'political donation', 'campaign contribution'.\n    **Fines**: Keywords like 'fines', 'penalty'.\n    **Subsidy**: Keywords like 'government subsidy', 'grant'.\n    **Jewellery**: Keywords like 'jewelry', 'gold', 'diamond'.\n\n    # RESPONSE FORMAT #\n    Return the result as a DICT:\n    {\n        \"category_level_2\": \"Classify based on narration, amount, and type.\"\n    }\n\n    # INPUT #\n    Narration: \"BY TRANSFER \/IMPS\/P2A\/334717385549\/ \/watersudneer\/MISS FEMI TRANSFER FROM 97157008159\"\n    Amount: \"1600.0\"\n    Type: \"CREDIT\"\n    ","role":"user"},{"content":"P2P Inward","role":"assistant"}]}
{"type":"DEBIT","mode":"OTHERS","amount":20000.0,"currentBalance":0,"transactionTimestamp":"2023-04-04T18:30:00Z","valueDate":"0001-01-01T00:00:00Z","txnId":27110,"narration":"ATM-CASH- AXIS\/SPAN23810\/6826\/050423\/NORTH 24 P","reference":null,"_x_category":"Cash Withdrawal","_x_sub_category":"Cash Withdrawal","messages":[{"content":"\nYou are a skilled financial data extractor specializing in Indian bank transactions. Focus on accurately identifying the receiver's name from transaction narrations, even if the format varies.\n","role":"system"},{"content":"\n    # CONTEXT #\n    You are a financial data expert, responsible for classifying Indian bank transactions. Each transaction has attributes:\n        - **Mode**: Transfer method (e.g., NEFT, UPI, RTGS).\n        - **Payee**: Recipient (person or organization).\n        - **Payer**: Sender (person or organization).\n        - **Description**: Additional text, common in UPI\/NEFT\/RTGS.\n\n    Narrations may contain noise (misspellings, abbreviations). Classify the transaction's subcategory based on the narration, amount, and type (credit or debit).\n\n    # OBJECTIVE #\n    1. **Classify `category_level_2`**: Choose the subcategory using provided descriptions, examples, and logic.\n\n    # CATEGORY GUIDELINES #\n    **Cash Withdrawal**: Keywords like 'ATM WDL', 'NWD'. Transaction type: Debit.\n    **Food**: Keywords like 'food', 'meal', 'Swiggy', 'Zomato'. Check UPI transactions for restaurant payments.\n    **Utility_Payments**: Keywords like 'bill payment', 'Euronet', 'Billdesk'.\n    **Salary Received**: Look for company names (not finance firms), salary keywords, and amounts.\n    **Bank Service Charges**: Keywords like 'Charges', 'Fee'. Debit transactions under a certain threshold.\n    **P2P Outward**: Person-to-person transfer (Debit).\n    **Cash Deposit**: Keywords like 'cash deposit'. Transaction type: Credit.\n    **Fuel**: Keywords like 'fuel', 'Indian Oil', 'Petrol'.\n    **Gaming**: Keywords like 'Dream11', 'gaming', 'Rummy'.\n    **Loan EMI Paid**: Keywords like 'loan', 'emi payment', with loan company names (e.g., Navi, Bajaj Finance).\n    **Apparel**: Keywords like 'Zudio', 'Myntra', 'fashion'.\n    **Medical**: Keywords like 'medical', 'Apollo Pharmacy'.\n    **Groceries**: Keywords like 'DMart', 'supermarket', 'grocery'.\n    **Alcohol**: Keywords like 'wine', 'beer', 'vodka'.\n    **Equities Credit**: Keywords like 'CREDIT', 'brokerage firms'.\n    **Equities Debit**: Keywords like 'stock purchase', 'Zerodha'.\n    **Penalties**: Keywords like 'Penalty', 'Charges'. Debit, typically under a threshold.\n    **Tax Liability**: Keywords like 'GST', 'tax payment'.\n    **Electricity**: Keywords like 'electricity bill'.\n    **Train**: Keywords like 'IRCTC', 'train ticket'.\n    **Gold Debit**: Keywords like 'gold debit', 'gold purchase'.\n    **Gold Credit**: Keywords like 'gold credit', 'gold investment'.\n    **Cab**: Keywords like 'Uber', 'OLA', 'cab'.\n    **Bus**: Keywords like 'red bus', 'bus ticket'.\n    **Mutual Funds Credit**: Keywords like 'mutual funds credit', 'MF payouts'.\n    **Mutual Funds Debit**: Keywords like 'mutual funds debit', 'investment'.\n    **Provident Fund Credit**: Keywords like 'pf payout'.\n    **Provident Fund Debit**: Keywords like 'pf contribution'.\n    **Movie**: Keywords like 'BookMyShow', 'BIGTREE ENTERTAINMENT'.\n    **Subscription**: Keywords like 'Apple Services', 'Disney Hotstar'.\n    **Salary Paid**: Keywords like 'salary paid', 'payroll'.\n    **Bonus**: Keywords like 'bonus', 'incentive'.\n    **Professional Services**: Keywords like 'consulting', 'UIDAI', 'PAN'.\n    **Pension**: Keywords like 'pension', 'APY'.\n    **Loan Credit**: Keywords like 'loan disbursement', loan companies (e.g., Bajaj Finance).\n    **Education**: Keywords like 'school', 'fees', 'university'.\n    **Bank Closure**: Keywords like 'account shutdown', 'service end'.\n    **Bounced I\/W Cheque**: Keywords like 'INWARD CHQ'.\n    **Bounced O\/W Cheque**: Keywords like 'OUTWARD CHQ', 'CHQ RET'.\n    **Credit Card Settlement**: Keywords like 'credit card payment', 'settlement'. Debit type.\n    **Dividend**: Keywords like 'DIV', 'INT DIV'.\n    **Hospital**: Keywords like 'hospital', 'Apollo Hospital'.\n    **Bank Interest**: Keywords like 'savings interest', 'INT'.\n    **Bonds Credit**: Keywords like 'bond payout', 'bonds credit'.\n    **Bonds Debit**: Keywords like 'bond purchase', 'bonds debit'.\n    **Fixed Deposit Credit**: Keywords like 'fixed deposit credit', 'e-RD'.\n    **Fixed Deposit Debit**: Keywords like 'fixed deposit debit', 'fd deposit'.\n    **Crypto Credit**: Keywords like 'crypto credit', 'bitcoin payout'.\n    **Crypto Debit**: Keywords like 'crypto debit', 'bitcoin debit'.\n    **Insurance Credit**: Keywords like 'insurance credit', 'policy payout'.\n    **Insurance Debit**: Keywords like 'insurance debit', 'LIC'.\n    **Fixed Deposit Sweep Out**: Keywords like 'fd sweep out'.\n    **Fixed Deposit Sweep In**: Keywords like 'fd sweep in'.\n    **Investment Interest**: Keywords like 'investment interest'.\n    **P2P Lending Credit**: Keywords like 'p2p lending credit', 'peer lending payout'.\n    **P2P Lending Debit**: Keywords like 'p2p lending debit', 'payment'.\n    **NPS Credit**: Keywords like 'NPS credit', 'national pension scheme'.\n    **NPS Debit**: Keywords like 'NPS debit', 'pension scheme payment'.\n    **Reimbursement Credit**: Keywords like 'reimbursement credit', 'REIMBURSE'.\n    **Business Income**: Keywords like 'business earnings'. Credit type.\n    **Business Expense**: Keywords like 'business expense'. Debit type, higher amount.\n    **Tax Rebate**: Keywords like 'tax rebate', 'tax refund'.\n    **Hotels and Stays**: Keywords like 'OYO', 'Airbnb'.\n    **Tolls**: Keywords like 'FASTag', 'tolls'.\n    **Rental**: Keywords like 'rental', 'lease'.\n    **Phone Recharge**: Keywords like 'phone recharge', 'mobile top-up'.\n    **Internet and DTH**: Keywords like 'broadband', 'tv subscription'.\n    **Vehicle Maintenance Expense**: Keywords like 'vehicle maintenance'.\n    **Refunds**: Keywords like 'Refund'. Credit type.\n    **Electronics**: Keywords like 'electronics', 'gadgets'.\n    **Stationery**: Keywords like 'stationery', 'office supplies'.\n    **Sports**: Keywords like 'sports', 'sporting goods'.\n    **Flight**: Keywords like 'flight', 'airfare'.\n    **Courier**: Keywords like 'courier', 'delivery service'.\n    **Household**: Keywords like 'household', 'home supplies'.\n    **Gas**: Keywords like 'gas', 'cooking gas'.\n    **Water**: Keywords like 'water bill'.\n    **Rent Received**: Keywords like 'rent received', 'rental income'.\n    **Rent Paid**: Keywords like 'rent paid', 'lease payment'.\n    **Cleaning Services**: Keywords like 'cleaning services', 'maid service'.\n    **Counseling**: Keywords like 'counseling', 'therapy'.\n    **Charity Donation**: Keywords like 'Donation', 'UNICEF'.\n    **Religious Donation**: Keywords like 'Offering', 'Church'.\n    **Political Donation**: Keywords like 'political donation', 'campaign contribution'.\n    **Fines**: Keywords like 'fines', 'penalty'.\n    **Subsidy**: Keywords like 'government subsidy', 'grant'.\n    **Jewellery**: Keywords like 'jewelry', 'gold', 'diamond'.\n\n    # RESPONSE FORMAT #\n    Return the result as a DICT:\n    {\n        \"category_level_2\": \"Classify based on narration, amount, and type.\"\n    }\n\n    # INPUT #\n    Narration: \"ATM-CASH- AXIS\/SPAN23810\/6826\/050423\/NORTH 24 P\"\n    Amount: \"20000.0\"\n    Type: \"DEBIT\"\n    ","role":"user"},{"content":"Cash Withdrawal","role":"assistant"}]}
{"type":"DEBIT","mode":"OTHERS","amount":60.0,"currentBalance":0,"transactionTimestamp":"2023-12-02T18:30:00Z","valueDate":"0001-01-01T00:00:00Z","txnId":19293,"narration":"UPI\/YESB\/RRN-333766533536\/MADHUPETROLEUM\/Payment from","reference":null,"_x_category":"Vehicle","_x_sub_category":"Fuel","messages":[{"content":"\nYou are a skilled financial data extractor specializing in Indian bank transactions. Focus on accurately identifying the receiver's name from transaction narrations, even if the format varies.\n","role":"system"},{"content":"\n    # CONTEXT #\n    You are a financial data expert, responsible for classifying Indian bank transactions. Each transaction has attributes:\n        - **Mode**: Transfer method (e.g., NEFT, UPI, RTGS).\n        - **Payee**: Recipient (person or organization).\n        - **Payer**: Sender (person or organization).\n        - **Description**: Additional text, common in UPI\/NEFT\/RTGS.\n\n    Narrations may contain noise (misspellings, abbreviations). Classify the transaction's subcategory based on the narration, amount, and type (credit or debit).\n\n    # OBJECTIVE #\n    1. **Classify `category_level_2`**: Choose the subcategory using provided descriptions, examples, and logic.\n\n    # CATEGORY GUIDELINES #\n    **Cash Withdrawal**: Keywords like 'ATM WDL', 'NWD'. Transaction type: Debit.\n    **Food**: Keywords like 'food', 'meal', 'Swiggy', 'Zomato'. Check UPI transactions for restaurant payments.\n    **Utility_Payments**: Keywords like 'bill payment', 'Euronet', 'Billdesk'.\n    **Salary Received**: Look for company names (not finance firms), salary keywords, and amounts.\n    **Bank Service Charges**: Keywords like 'Charges', 'Fee'. Debit transactions under a certain threshold.\n    **P2P Outward**: Person-to-person transfer (Debit).\n    **Cash Deposit**: Keywords like 'cash deposit'. Transaction type: Credit.\n    **Fuel**: Keywords like 'fuel', 'Indian Oil', 'Petrol'.\n    **Gaming**: Keywords like 'Dream11', 'gaming', 'Rummy'.\n    **Loan EMI Paid**: Keywords like 'loan', 'emi payment', with loan company names (e.g., Navi, Bajaj Finance).\n    **Apparel**: Keywords like 'Zudio', 'Myntra', 'fashion'.\n    **Medical**: Keywords like 'medical', 'Apollo Pharmacy'.\n    **Groceries**: Keywords like 'DMart', 'supermarket', 'grocery'.\n    **Alcohol**: Keywords like 'wine', 'beer', 'vodka'.\n    **Equities Credit**: Keywords like 'CREDIT', 'brokerage firms'.\n    **Equities Debit**: Keywords like 'stock purchase', 'Zerodha'.\n    **Penalties**: Keywords like 'Penalty', 'Charges'. Debit, typically under a threshold.\n    **Tax Liability**: Keywords like 'GST', 'tax payment'.\n    **Electricity**: Keywords like 'electricity bill'.\n    **Train**: Keywords like 'IRCTC', 'train ticket'.\n    **Gold Debit**: Keywords like 'gold debit', 'gold purchase'.\n    **Gold Credit**: Keywords like 'gold credit', 'gold investment'.\n    **Cab**: Keywords like 'Uber', 'OLA', 'cab'.\n    **Bus**: Keywords like 'red bus', 'bus ticket'.\n    **Mutual Funds Credit**: Keywords like 'mutual funds credit', 'MF payouts'.\n    **Mutual Funds Debit**: Keywords like 'mutual funds debit', 'investment'.\n    **Provident Fund Credit**: Keywords like 'pf payout'.\n    **Provident Fund Debit**: Keywords like 'pf contribution'.\n    **Movie**: Keywords like 'BookMyShow', 'BIGTREE ENTERTAINMENT'.\n    **Subscription**: Keywords like 'Apple Services', 'Disney Hotstar'.\n    **Salary Paid**: Keywords like 'salary paid', 'payroll'.\n    **Bonus**: Keywords like 'bonus', 'incentive'.\n    **Professional Services**: Keywords like 'consulting', 'UIDAI', 'PAN'.\n    **Pension**: Keywords like 'pension', 'APY'.\n    **Loan Credit**: Keywords like 'loan disbursement', loan companies (e.g., Bajaj Finance).\n    **Education**: Keywords like 'school', 'fees', 'university'.\n    **Bank Closure**: Keywords like 'account shutdown', 'service end'.\n    **Bounced I\/W Cheque**: Keywords like 'INWARD CHQ'.\n    **Bounced O\/W Cheque**: Keywords like 'OUTWARD CHQ', 'CHQ RET'.\n    **Credit Card Settlement**: Keywords like 'credit card payment', 'settlement'. Debit type.\n    **Dividend**: Keywords like 'DIV', 'INT DIV'.\n    **Hospital**: Keywords like 'hospital', 'Apollo Hospital'.\n    **Bank Interest**: Keywords like 'savings interest', 'INT'.\n    **Bonds Credit**: Keywords like 'bond payout', 'bonds credit'.\n    **Bonds Debit**: Keywords like 'bond purchase', 'bonds debit'.\n    **Fixed Deposit Credit**: Keywords like 'fixed deposit credit', 'e-RD'.\n    **Fixed Deposit Debit**: Keywords like 'fixed deposit debit', 'fd deposit'.\n    **Crypto Credit**: Keywords like 'crypto credit', 'bitcoin payout'.\n    **Crypto Debit**: Keywords like 'crypto debit', 'bitcoin debit'.\n    **Insurance Credit**: Keywords like 'insurance credit', 'policy payout'.\n    **Insurance Debit**: Keywords like 'insurance debit', 'LIC'.\n    **Fixed Deposit Sweep Out**: Keywords like 'fd sweep out'.\n    **Fixed Deposit Sweep In**: Keywords like 'fd sweep in'.\n    **Investment Interest**: Keywords like 'investment interest'.\n    **P2P Lending Credit**: Keywords like 'p2p lending credit', 'peer lending payout'.\n    **P2P Lending Debit**: Keywords like 'p2p lending debit', 'payment'.\n    **NPS Credit**: Keywords like 'NPS credit', 'national pension scheme'.\n    **NPS Debit**: Keywords like 'NPS debit', 'pension scheme payment'.\n    **Reimbursement Credit**: Keywords like 'reimbursement credit', 'REIMBURSE'.\n    **Business Income**: Keywords like 'business earnings'. Credit type.\n    **Business Expense**: Keywords like 'business expense'. Debit type, higher amount.\n    **Tax Rebate**: Keywords like 'tax rebate', 'tax refund'.\n    **Hotels and Stays**: Keywords like 'OYO', 'Airbnb'.\n    **Tolls**: Keywords like 'FASTag', 'tolls'.\n    **Rental**: Keywords like 'rental', 'lease'.\n    **Phone Recharge**: Keywords like 'phone recharge', 'mobile top-up'.\n    **Internet and DTH**: Keywords like 'broadband', 'tv subscription'.\n    **Vehicle Maintenance Expense**: Keywords like 'vehicle maintenance'.\n    **Refunds**: Keywords like 'Refund'. Credit type.\n    **Electronics**: Keywords like 'electronics', 'gadgets'.\n    **Stationery**: Keywords like 'stationery', 'office supplies'.\n    **Sports**: Keywords like 'sports', 'sporting goods'.\n    **Flight**: Keywords like 'flight', 'airfare'.\n    **Courier**: Keywords like 'courier', 'delivery service'.\n    **Household**: Keywords like 'household', 'home supplies'.\n    **Gas**: Keywords like 'gas', 'cooking gas'.\n    **Water**: Keywords like 'water bill'.\n    **Rent Received**: Keywords like 'rent received', 'rental income'.\n    **Rent Paid**: Keywords like 'rent paid', 'lease payment'.\n    **Cleaning Services**: Keywords like 'cleaning services', 'maid service'.\n    **Counseling**: Keywords like 'counseling', 'therapy'.\n    **Charity Donation**: Keywords like 'Donation', 'UNICEF'.\n    **Religious Donation**: Keywords like 'Offering', 'Church'.\n    **Political Donation**: Keywords like 'political donation', 'campaign contribution'.\n    **Fines**: Keywords like 'fines', 'penalty'.\n    **Subsidy**: Keywords like 'government subsidy', 'grant'.\n    **Jewellery**: Keywords like 'jewelry', 'gold', 'diamond'.\n\n    # RESPONSE FORMAT #\n    Return the result as a DICT:\n    {\n        \"category_level_2\": \"Classify based on narration, amount, and type.\"\n    }\n\n    # INPUT #\n    Narration: \"UPI\/YESB\/RRN-333766533536\/MADHUPETROLEUM\/Payment from\"\n    Amount: \"60.0\"\n    Type: \"DEBIT\"\n    ","role":"user"},{"content":"Fuel","role":"assistant"}]}
{"type":"DEBIT","mode":"OTHERS","amount":128.0,"currentBalance":0,"transactionTimestamp":"2024-01-26T18:30:00Z","valueDate":"0001-01-01T00:00:00Z","txnId":26388,"narration":"UPI\/DR\/402789647325\/JARSAVE\/YESB\/**NLINE@YBL\/SUBSCRIP\/\/YBL8948FD894BF84852AE106EF17F3E0E43\/27\/01\/202406:05:25 (Ref# 402789647325)","reference":null,"_x_category":"Investments","_x_sub_category":"Gold Debit","messages":[{"content":"\nYou are a skilled financial data extractor specializing in Indian bank transactions. Focus on accurately identifying the receiver's name from transaction narrations, even if the format varies.\n","role":"system"},{"content":"\n    # CONTEXT #\n    You are a financial data expert, responsible for classifying Indian bank transactions. Each transaction has attributes:\n        - **Mode**: Transfer method (e.g., NEFT, UPI, RTGS).\n        - **Payee**: Recipient (person or organization).\n        - **Payer**: Sender (person or organization).\n        - **Description**: Additional text, common in UPI\/NEFT\/RTGS.\n\n    Narrations may contain noise (misspellings, abbreviations). Classify the transaction's subcategory based on the narration, amount, and type (credit or debit).\n\n    # OBJECTIVE #\n    1. **Classify `category_level_2`**: Choose the subcategory using provided descriptions, examples, and logic.\n\n    # CATEGORY GUIDELINES #\n    **Cash Withdrawal**: Keywords like 'ATM WDL', 'NWD'. Transaction type: Debit.\n    **Food**: Keywords like 'food', 'meal', 'Swiggy', 'Zomato'. Check UPI transactions for restaurant payments.\n    **Utility_Payments**: Keywords like 'bill payment', 'Euronet', 'Billdesk'.\n    **Salary Received**: Look for company names (not finance firms), salary keywords, and amounts.\n    **Bank Service Charges**: Keywords like 'Charges', 'Fee'. Debit transactions under a certain threshold.\n    **P2P Outward**: Person-to-person transfer (Debit).\n    **Cash Deposit**: Keywords like 'cash deposit'. Transaction type: Credit.\n    **Fuel**: Keywords like 'fuel', 'Indian Oil', 'Petrol'.\n    **Gaming**: Keywords like 'Dream11', 'gaming', 'Rummy'.\n    **Loan EMI Paid**: Keywords like 'loan', 'emi payment', with loan company names (e.g., Navi, Bajaj Finance).\n    **Apparel**: Keywords like 'Zudio', 'Myntra', 'fashion'.\n    **Medical**: Keywords like 'medical', 'Apollo Pharmacy'.\n    **Groceries**: Keywords like 'DMart', 'supermarket', 'grocery'.\n    **Alcohol**: Keywords like 'wine', 'beer', 'vodka'.\n    **Equities Credit**: Keywords like 'CREDIT', 'brokerage firms'.\n    **Equities Debit**: Keywords like 'stock purchase', 'Zerodha'.\n    **Penalties**: Keywords like 'Penalty', 'Charges'. Debit, typically under a threshold.\n    **Tax Liability**: Keywords like 'GST', 'tax payment'.\n    **Electricity**: Keywords like 'electricity bill'.\n    **Train**: Keywords like 'IRCTC', 'train ticket'.\n    **Gold Debit**: Keywords like 'gold debit', 'gold purchase'.\n    **Gold Credit**: Keywords like 'gold credit', 'gold investment'.\n    **Cab**: Keywords like 'Uber', 'OLA', 'cab'.\n    **Bus**: Keywords like 'red bus', 'bus ticket'.\n    **Mutual Funds Credit**: Keywords like 'mutual funds credit', 'MF payouts'.\n    **Mutual Funds Debit**: Keywords like 'mutual funds debit', 'investment'.\n    **Provident Fund Credit**: Keywords like 'pf payout'.\n    **Provident Fund Debit**: Keywords like 'pf contribution'.\n    **Movie**: Keywords like 'BookMyShow', 'BIGTREE ENTERTAINMENT'.\n    **Subscription**: Keywords like 'Apple Services', 'Disney Hotstar'.\n    **Salary Paid**: Keywords like 'salary paid', 'payroll'.\n    **Bonus**: Keywords like 'bonus', 'incentive'.\n    **Professional Services**: Keywords like 'consulting', 'UIDAI', 'PAN'.\n    **Pension**: Keywords like 'pension', 'APY'.\n    **Loan Credit**: Keywords like 'loan disbursement', loan companies (e.g., Bajaj Finance).\n    **Education**: Keywords like 'school', 'fees', 'university'.\n    **Bank Closure**: Keywords like 'account shutdown', 'service end'.\n    **Bounced I\/W Cheque**: Keywords like 'INWARD CHQ'.\n    **Bounced O\/W Cheque**: Keywords like 'OUTWARD CHQ', 'CHQ RET'.\n    **Credit Card Settlement**: Keywords like 'credit card payment', 'settlement'. Debit type.\n    **Dividend**: Keywords like 'DIV', 'INT DIV'.\n    **Hospital**: Keywords like 'hospital', 'Apollo Hospital'.\n    **Bank Interest**: Keywords like 'savings interest', 'INT'.\n    **Bonds Credit**: Keywords like 'bond payout', 'bonds credit'.\n    **Bonds Debit**: Keywords like 'bond purchase', 'bonds debit'.\n    **Fixed Deposit Credit**: Keywords like 'fixed deposit credit', 'e-RD'.\n    **Fixed Deposit Debit**: Keywords like 'fixed deposit debit', 'fd deposit'.\n    **Crypto Credit**: Keywords like 'crypto credit', 'bitcoin payout'.\n    **Crypto Debit**: Keywords like 'crypto debit', 'bitcoin debit'.\n    **Insurance Credit**: Keywords like 'insurance credit', 'policy payout'.\n    **Insurance Debit**: Keywords like 'insurance debit', 'LIC'.\n    **Fixed Deposit Sweep Out**: Keywords like 'fd sweep out'.\n    **Fixed Deposit Sweep In**: Keywords like 'fd sweep in'.\n    **Investment Interest**: Keywords like 'investment interest'.\n    **P2P Lending Credit**: Keywords like 'p2p lending credit', 'peer lending payout'.\n    **P2P Lending Debit**: Keywords like 'p2p lending debit', 'payment'.\n    **NPS Credit**: Keywords like 'NPS credit', 'national pension scheme'.\n    **NPS Debit**: Keywords like 'NPS debit', 'pension scheme payment'.\n    **Reimbursement Credit**: Keywords like 'reimbursement credit', 'REIMBURSE'.\n    **Business Income**: Keywords like 'business earnings'. Credit type.\n    **Business Expense**: Keywords like 'business expense'. Debit type, higher amount.\n    **Tax Rebate**: Keywords like 'tax rebate', 'tax refund'.\n    **Hotels and Stays**: Keywords like 'OYO', 'Airbnb'.\n    **Tolls**: Keywords like 'FASTag', 'tolls'.\n    **Rental**: Keywords like 'rental', 'lease'.\n    **Phone Recharge**: Keywords like 'phone recharge', 'mobile top-up'.\n    **Internet and DTH**: Keywords like 'broadband', 'tv subscription'.\n    **Vehicle Maintenance Expense**: Keywords like 'vehicle maintenance'.\n    **Refunds**: Keywords like 'Refund'. Credit type.\n    **Electronics**: Keywords like 'electronics', 'gadgets'.\n    **Stationery**: Keywords like 'stationery', 'office supplies'.\n    **Sports**: Keywords like 'sports', 'sporting goods'.\n    **Flight**: Keywords like 'flight', 'airfare'.\n    **Courier**: Keywords like 'courier', 'delivery service'.\n    **Household**: Keywords like 'household', 'home supplies'.\n    **Gas**: Keywords like 'gas', 'cooking gas'.\n    **Water**: Keywords like 'water bill'.\n    **Rent Received**: Keywords like 'rent received', 'rental income'.\n    **Rent Paid**: Keywords like 'rent paid', 'lease payment'.\n    **Cleaning Services**: Keywords like 'cleaning services', 'maid service'.\n    **Counseling**: Keywords like 'counseling', 'therapy'.\n    **Charity Donation**: Keywords like 'Donation', 'UNICEF'.\n    **Religious Donation**: Keywords like 'Offering', 'Church'.\n    **Political Donation**: Keywords like 'political donation', 'campaign contribution'.\n    **Fines**: Keywords like 'fines', 'penalty'.\n    **Subsidy**: Keywords like 'government subsidy', 'grant'.\n    **Jewellery**: Keywords like 'jewelry', 'gold', 'diamond'.\n\n    # RESPONSE FORMAT #\n    Return the result as a DICT:\n    {\n        \"category_level_2\": \"Classify based on narration, amount, and type.\"\n    }\n\n    # INPUT #\n    Narration: \"UPI\/DR\/402789647325\/JARSAVE\/YESB\/**NLINE@YBL\/SUBSCRIP\/\/YBL8948FD894BF84852AE106EF17F3E0E43\/27\/01\/202406:05:25 (Ref# 402789647325)\"\n    Amount: \"128.0\"\n    Type: \"DEBIT\"\n    ","role":"user"},{"content":"Gold Debit","role":"assistant"}]}
{"type":"DEBIT","mode":"OTHERS","amount":100.0,"currentBalance":0,"transactionTimestamp":"2023-10-13T18:30:00Z","valueDate":"0001-01-01T00:00:00Z","txnId":25767,"narration":"UPI\/328764448574\/DREAM11","reference":null,"_x_category":"Entertainment","_x_sub_category":"Gaming","messages":[{"content":"\nYou are a skilled financial data extractor specializing in Indian bank transactions. Focus on accurately identifying the receiver's name from transaction narrations, even if the format varies.\n","role":"system"},{"content":"\n    # CONTEXT #\n    You are a financial data expert, responsible for classifying Indian bank transactions. Each transaction has attributes:\n        - **Mode**: Transfer method (e.g., NEFT, UPI, RTGS).\n        - **Payee**: Recipient (person or organization).\n        - **Payer**: Sender (person or organization).\n        - **Description**: Additional text, common in UPI\/NEFT\/RTGS.\n\n    Narrations may contain noise (misspellings, abbreviations). Classify the transaction's subcategory based on the narration, amount, and type (credit or debit).\n\n    # OBJECTIVE #\n    1. **Classify `category_level_2`**: Choose the subcategory using provided descriptions, examples, and logic.\n\n    # CATEGORY GUIDELINES #\n    **Cash Withdrawal**: Keywords like 'ATM WDL', 'NWD'. Transaction type: Debit.\n    **Food**: Keywords like 'food', 'meal', 'Swiggy', 'Zomato'. Check UPI transactions for restaurant payments.\n    **Utility_Payments**: Keywords like 'bill payment', 'Euronet', 'Billdesk'.\n    **Salary Received**: Look for company names (not finance firms), salary keywords, and amounts.\n    **Bank Service Charges**: Keywords like 'Charges', 'Fee'. Debit transactions under a certain threshold.\n    **P2P Outward**: Person-to-person transfer (Debit).\n    **Cash Deposit**: Keywords like 'cash deposit'. Transaction type: Credit.\n    **Fuel**: Keywords like 'fuel', 'Indian Oil', 'Petrol'.\n    **Gaming**: Keywords like 'Dream11', 'gaming', 'Rummy'.\n    **Loan EMI Paid**: Keywords like 'loan', 'emi payment', with loan company names (e.g., Navi, Bajaj Finance).\n    **Apparel**: Keywords like 'Zudio', 'Myntra', 'fashion'.\n    **Medical**: Keywords like 'medical', 'Apollo Pharmacy'.\n    **Groceries**: Keywords like 'DMart', 'supermarket', 'grocery'.\n    **Alcohol**: Keywords like 'wine', 'beer', 'vodka'.\n    **Equities Credit**: Keywords like 'CREDIT', 'brokerage firms'.\n    **Equities Debit**: Keywords like 'stock purchase', 'Zerodha'.\n    **Penalties**: Keywords like 'Penalty', 'Charges'. Debit, typically under a threshold.\n    **Tax Liability**: Keywords like 'GST', 'tax payment'.\n    **Electricity**: Keywords like 'electricity bill'.\n    **Train**: Keywords like 'IRCTC', 'train ticket'.\n    **Gold Debit**: Keywords like 'gold debit', 'gold purchase'.\n    **Gold Credit**: Keywords like 'gold credit', 'gold investment'.\n    **Cab**: Keywords like 'Uber', 'OLA', 'cab'.\n    **Bus**: Keywords like 'red bus', 'bus ticket'.\n    **Mutual Funds Credit**: Keywords like 'mutual funds credit', 'MF payouts'.\n    **Mutual Funds Debit**: Keywords like 'mutual funds debit', 'investment'.\n    **Provident Fund Credit**: Keywords like 'pf payout'.\n    **Provident Fund Debit**: Keywords like 'pf contribution'.\n    **Movie**: Keywords like 'BookMyShow', 'BIGTREE ENTERTAINMENT'.\n    **Subscription**: Keywords like 'Apple Services', 'Disney Hotstar'.\n    **Salary Paid**: Keywords like 'salary paid', 'payroll'.\n    **Bonus**: Keywords like 'bonus', 'incentive'.\n    **Professional Services**: Keywords like 'consulting', 'UIDAI', 'PAN'.\n    **Pension**: Keywords like 'pension', 'APY'.\n    **Loan Credit**: Keywords like 'loan disbursement', loan companies (e.g., Bajaj Finance).\n    **Education**: Keywords like 'school', 'fees', 'university'.\n    **Bank Closure**: Keywords like 'account shutdown', 'service end'.\n    **Bounced I\/W Cheque**: Keywords like 'INWARD CHQ'.\n    **Bounced O\/W Cheque**: Keywords like 'OUTWARD CHQ', 'CHQ RET'.\n    **Credit Card Settlement**: Keywords like 'credit card payment', 'settlement'. Debit type.\n    **Dividend**: Keywords like 'DIV', 'INT DIV'.\n    **Hospital**: Keywords like 'hospital', 'Apollo Hospital'.\n    **Bank Interest**: Keywords like 'savings interest', 'INT'.\n    **Bonds Credit**: Keywords like 'bond payout', 'bonds credit'.\n    **Bonds Debit**: Keywords like 'bond purchase', 'bonds debit'.\n    **Fixed Deposit Credit**: Keywords like 'fixed deposit credit', 'e-RD'.\n    **Fixed Deposit Debit**: Keywords like 'fixed deposit debit', 'fd deposit'.\n    **Crypto Credit**: Keywords like 'crypto credit', 'bitcoin payout'.\n    **Crypto Debit**: Keywords like 'crypto debit', 'bitcoin debit'.\n    **Insurance Credit**: Keywords like 'insurance credit', 'policy payout'.\n    **Insurance Debit**: Keywords like 'insurance debit', 'LIC'.\n    **Fixed Deposit Sweep Out**: Keywords like 'fd sweep out'.\n    **Fixed Deposit Sweep In**: Keywords like 'fd sweep in'.\n    **Investment Interest**: Keywords like 'investment interest'.\n    **P2P Lending Credit**: Keywords like 'p2p lending credit', 'peer lending payout'.\n    **P2P Lending Debit**: Keywords like 'p2p lending debit', 'payment'.\n    **NPS Credit**: Keywords like 'NPS credit', 'national pension scheme'.\n    **NPS Debit**: Keywords like 'NPS debit', 'pension scheme payment'.\n    **Reimbursement Credit**: Keywords like 'reimbursement credit', 'REIMBURSE'.\n    **Business Income**: Keywords like 'business earnings'. Credit type.\n    **Business Expense**: Keywords like 'business expense'. Debit type, higher amount.\n    **Tax Rebate**: Keywords like 'tax rebate', 'tax refund'.\n    **Hotels and Stays**: Keywords like 'OYO', 'Airbnb'.\n    **Tolls**: Keywords like 'FASTag', 'tolls'.\n    **Rental**: Keywords like 'rental', 'lease'.\n    **Phone Recharge**: Keywords like 'phone recharge', 'mobile top-up'.\n    **Internet and DTH**: Keywords like 'broadband', 'tv subscription'.\n    **Vehicle Maintenance Expense**: Keywords like 'vehicle maintenance'.\n    **Refunds**: Keywords like 'Refund'. Credit type.\n    **Electronics**: Keywords like 'electronics', 'gadgets'.\n    **Stationery**: Keywords like 'stationery', 'office supplies'.\n    **Sports**: Keywords like 'sports', 'sporting goods'.\n    **Flight**: Keywords like 'flight', 'airfare'.\n    **Courier**: Keywords like 'courier', 'delivery service'.\n    **Household**: Keywords like 'household', 'home supplies'.\n    **Gas**: Keywords like 'gas', 'cooking gas'.\n    **Water**: Keywords like 'water bill'.\n    **Rent Received**: Keywords like 'rent received', 'rental income'.\n    **Rent Paid**: Keywords like 'rent paid', 'lease payment'.\n    **Cleaning Services**: Keywords like 'cleaning services', 'maid service'.\n    **Counseling**: Keywords like 'counseling', 'therapy'.\n    **Charity Donation**: Keywords like 'Donation', 'UNICEF'.\n    **Religious Donation**: Keywords like 'Offering', 'Church'.\n    **Political Donation**: Keywords like 'political donation', 'campaign contribution'.\n    **Fines**: Keywords like 'fines', 'penalty'.\n    **Subsidy**: Keywords like 'government subsidy', 'grant'.\n    **Jewellery**: Keywords like 'jewelry', 'gold', 'diamond'.\n\n    # RESPONSE FORMAT #\n    Return the result as a DICT:\n    {\n        \"category_level_2\": \"Classify based on narration, amount, and type.\"\n    }\n\n    # INPUT #\n    Narration: \"UPI\/328764448574\/DREAM11\"\n    Amount: \"100.0\"\n    Type: \"DEBIT\"\n    ","role":"user"},{"content":"Gaming","role":"assistant"}]}
{"type":"DEBIT","mode":"OTHERS","amount":50.0,"currentBalance":0,"transactionTimestamp":"2023-12-22T18:30:00Z","valueDate":"0001-01-01T00:00:00Z","txnId":19735,"narration":"TO TRANSFER- UPI\/DR\/335727226086\/Genga Go\/PYTM\/paytmqr281\/UPI-","reference":null,"_x_category":"Transfer","_x_sub_category":"P2P Outward","messages":[{"content":"\nYou are a skilled financial data extractor specializing in Indian bank transactions. Focus on accurately identifying the receiver's name from transaction narrations, even if the format varies.\n","role":"system"},{"content":"\n    # CONTEXT #\n    You are a financial data expert, responsible for classifying Indian bank transactions. Each transaction has attributes:\n        - **Mode**: Transfer method (e.g., NEFT, UPI, RTGS).\n        - **Payee**: Recipient (person or organization).\n        - **Payer**: Sender (person or organization).\n        - **Description**: Additional text, common in UPI\/NEFT\/RTGS.\n\n    Narrations may contain noise (misspellings, abbreviations). Classify the transaction's subcategory based on the narration, amount, and type (credit or debit).\n\n    # OBJECTIVE #\n    1. **Classify `category_level_2`**: Choose the subcategory using provided descriptions, examples, and logic.\n\n    # CATEGORY GUIDELINES #\n    **Cash Withdrawal**: Keywords like 'ATM WDL', 'NWD'. Transaction type: Debit.\n    **Food**: Keywords like 'food', 'meal', 'Swiggy', 'Zomato'. Check UPI transactions for restaurant payments.\n    **Utility_Payments**: Keywords like 'bill payment', 'Euronet', 'Billdesk'.\n    **Salary Received**: Look for company names (not finance firms), salary keywords, and amounts.\n    **Bank Service Charges**: Keywords like 'Charges', 'Fee'. Debit transactions under a certain threshold.\n    **P2P Outward**: Person-to-person transfer (Debit).\n    **Cash Deposit**: Keywords like 'cash deposit'. Transaction type: Credit.\n    **Fuel**: Keywords like 'fuel', 'Indian Oil', 'Petrol'.\n    **Gaming**: Keywords like 'Dream11', 'gaming', 'Rummy'.\n    **Loan EMI Paid**: Keywords like 'loan', 'emi payment', with loan company names (e.g., Navi, Bajaj Finance).\n    **Apparel**: Keywords like 'Zudio', 'Myntra', 'fashion'.\n    **Medical**: Keywords like 'medical', 'Apollo Pharmacy'.\n    **Groceries**: Keywords like 'DMart', 'supermarket', 'grocery'.\n    **Alcohol**: Keywords like 'wine', 'beer', 'vodka'.\n    **Equities Credit**: Keywords like 'CREDIT', 'brokerage firms'.\n    **Equities Debit**: Keywords like 'stock purchase', 'Zerodha'.\n    **Penalties**: Keywords like 'Penalty', 'Charges'. Debit, typically under a threshold.\n    **Tax Liability**: Keywords like 'GST', 'tax payment'.\n    **Electricity**: Keywords like 'electricity bill'.\n    **Train**: Keywords like 'IRCTC', 'train ticket'.\n    **Gold Debit**: Keywords like 'gold debit', 'gold purchase'.\n    **Gold Credit**: Keywords like 'gold credit', 'gold investment'.\n    **Cab**: Keywords like 'Uber', 'OLA', 'cab'.\n    **Bus**: Keywords like 'red bus', 'bus ticket'.\n    **Mutual Funds Credit**: Keywords like 'mutual funds credit', 'MF payouts'.\n    **Mutual Funds Debit**: Keywords like 'mutual funds debit', 'investment'.\n    **Provident Fund Credit**: Keywords like 'pf payout'.\n    **Provident Fund Debit**: Keywords like 'pf contribution'.\n    **Movie**: Keywords like 'BookMyShow', 'BIGTREE ENTERTAINMENT'.\n    **Subscription**: Keywords like 'Apple Services', 'Disney Hotstar'.\n    **Salary Paid**: Keywords like 'salary paid', 'payroll'.\n    **Bonus**: Keywords like 'bonus', 'incentive'.\n    **Professional Services**: Keywords like 'consulting', 'UIDAI', 'PAN'.\n    **Pension**: Keywords like 'pension', 'APY'.\n    **Loan Credit**: Keywords like 'loan disbursement', loan companies (e.g., Bajaj Finance).\n    **Education**: Keywords like 'school', 'fees', 'university'.\n    **Bank Closure**: Keywords like 'account shutdown', 'service end'.\n    **Bounced I\/W Cheque**: Keywords like 'INWARD CHQ'.\n    **Bounced O\/W Cheque**: Keywords like 'OUTWARD CHQ', 'CHQ RET'.\n    **Credit Card Settlement**: Keywords like 'credit card payment', 'settlement'. Debit type.\n    **Dividend**: Keywords like 'DIV', 'INT DIV'.\n    **Hospital**: Keywords like 'hospital', 'Apollo Hospital'.\n    **Bank Interest**: Keywords like 'savings interest', 'INT'.\n    **Bonds Credit**: Keywords like 'bond payout', 'bonds credit'.\n    **Bonds Debit**: Keywords like 'bond purchase', 'bonds debit'.\n    **Fixed Deposit Credit**: Keywords like 'fixed deposit credit', 'e-RD'.\n    **Fixed Deposit Debit**: Keywords like 'fixed deposit debit', 'fd deposit'.\n    **Crypto Credit**: Keywords like 'crypto credit', 'bitcoin payout'.\n    **Crypto Debit**: Keywords like 'crypto debit', 'bitcoin debit'.\n    **Insurance Credit**: Keywords like 'insurance credit', 'policy payout'.\n    **Insurance Debit**: Keywords like 'insurance debit', 'LIC'.\n    **Fixed Deposit Sweep Out**: Keywords like 'fd sweep out'.\n    **Fixed Deposit Sweep In**: Keywords like 'fd sweep in'.\n    **Investment Interest**: Keywords like 'investment interest'.\n    **P2P Lending Credit**: Keywords like 'p2p lending credit', 'peer lending payout'.\n    **P2P Lending Debit**: Keywords like 'p2p lending debit', 'payment'.\n    **NPS Credit**: Keywords like 'NPS credit', 'national pension scheme'.\n    **NPS Debit**: Keywords like 'NPS debit', 'pension scheme payment'.\n    **Reimbursement Credit**: Keywords like 'reimbursement credit', 'REIMBURSE'.\n    **Business Income**: Keywords like 'business earnings'. Credit type.\n    **Business Expense**: Keywords like 'business expense'. Debit type, higher amount.\n    **Tax Rebate**: Keywords like 'tax rebate', 'tax refund'.\n    **Hotels and Stays**: Keywords like 'OYO', 'Airbnb'.\n    **Tolls**: Keywords like 'FASTag', 'tolls'.\n    **Rental**: Keywords like 'rental', 'lease'.\n    **Phone Recharge**: Keywords like 'phone recharge', 'mobile top-up'.\n    **Internet and DTH**: Keywords like 'broadband', 'tv subscription'.\n    **Vehicle Maintenance Expense**: Keywords like 'vehicle maintenance'.\n    **Refunds**: Keywords like 'Refund'. Credit type.\n    **Electronics**: Keywords like 'electronics', 'gadgets'.\n    **Stationery**: Keywords like 'stationery', 'office supplies'.\n    **Sports**: Keywords like 'sports', 'sporting goods'.\n    **Flight**: Keywords like 'flight', 'airfare'.\n    **Courier**: Keywords like 'courier', 'delivery service'.\n    **Household**: Keywords like 'household', 'home supplies'.\n    **Gas**: Keywords like 'gas', 'cooking gas'.\n    **Water**: Keywords like 'water bill'.\n    **Rent Received**: Keywords like 'rent received', 'rental income'.\n    **Rent Paid**: Keywords like 'rent paid', 'lease payment'.\n    **Cleaning Services**: Keywords like 'cleaning services', 'maid service'.\n    **Counseling**: Keywords like 'counseling', 'therapy'.\n    **Charity Donation**: Keywords like 'Donation', 'UNICEF'.\n    **Religious Donation**: Keywords like 'Offering', 'Church'.\n    **Political Donation**: Keywords like 'political donation', 'campaign contribution'.\n    **Fines**: Keywords like 'fines', 'penalty'.\n    **Subsidy**: Keywords like 'government subsidy', 'grant'.\n    **Jewellery**: Keywords like 'jewelry', 'gold', 'diamond'.\n\n    # RESPONSE FORMAT #\n    Return the result as a DICT:\n    {\n        \"category_level_2\": \"Classify based on narration, amount, and type.\"\n    }\n\n    # INPUT #\n    Narration: \"TO TRANSFER- UPI\/DR\/335727226086\/Genga Go\/PYTM\/paytmqr281\/UPI-\"\n    Amount: \"50.0\"\n    Type: \"DEBIT\"\n    ","role":"user"},{"content":"P2P Outward","role":"assistant"}]}
{"type":"DEBIT","mode":"OTHERS","amount":3500.0,"currentBalance":0,"transactionTimestamp":"2023-10-30T18:30:00Z","valueDate":"0001-01-01T00:00:00Z","txnId":21200,"narration":"- ATM CASH 33041 UTTARPARA WEST BENGAL UTTARPARA","reference":null,"_x_category":"Cash Withdrawal","_x_sub_category":"Cash Withdrawal","messages":[{"content":"\nYou are a skilled financial data extractor specializing in Indian bank transactions. Focus on accurately identifying the receiver's name from transaction narrations, even if the format varies.\n","role":"system"},{"content":"\n    # CONTEXT #\n    You are a financial data expert, responsible for classifying Indian bank transactions. Each transaction has attributes:\n        - **Mode**: Transfer method (e.g., NEFT, UPI, RTGS).\n        - **Payee**: Recipient (person or organization).\n        - **Payer**: Sender (person or organization).\n        - **Description**: Additional text, common in UPI\/NEFT\/RTGS.\n\n    Narrations may contain noise (misspellings, abbreviations). Classify the transaction's subcategory based on the narration, amount, and type (credit or debit).\n\n    # OBJECTIVE #\n    1. **Classify `category_level_2`**: Choose the subcategory using provided descriptions, examples, and logic.\n\n    # CATEGORY GUIDELINES #\n    **Cash Withdrawal**: Keywords like 'ATM WDL', 'NWD'. Transaction type: Debit.\n    **Food**: Keywords like 'food', 'meal', 'Swiggy', 'Zomato'. Check UPI transactions for restaurant payments.\n    **Utility_Payments**: Keywords like 'bill payment', 'Euronet', 'Billdesk'.\n    **Salary Received**: Look for company names (not finance firms), salary keywords, and amounts.\n    **Bank Service Charges**: Keywords like 'Charges', 'Fee'. Debit transactions under a certain threshold.\n    **P2P Outward**: Person-to-person transfer (Debit).\n    **Cash Deposit**: Keywords like 'cash deposit'. Transaction type: Credit.\n    **Fuel**: Keywords like 'fuel', 'Indian Oil', 'Petrol'.\n    **Gaming**: Keywords like 'Dream11', 'gaming', 'Rummy'.\n    **Loan EMI Paid**: Keywords like 'loan', 'emi payment', with loan company names (e.g., Navi, Bajaj Finance).\n    **Apparel**: Keywords like 'Zudio', 'Myntra', 'fashion'.\n    **Medical**: Keywords like 'medical', 'Apollo Pharmacy'.\n    **Groceries**: Keywords like 'DMart', 'supermarket', 'grocery'.\n    **Alcohol**: Keywords like 'wine', 'beer', 'vodka'.\n    **Equities Credit**: Keywords like 'CREDIT', 'brokerage firms'.\n    **Equities Debit**: Keywords like 'stock purchase', 'Zerodha'.\n    **Penalties**: Keywords like 'Penalty', 'Charges'. Debit, typically under a threshold.\n    **Tax Liability**: Keywords like 'GST', 'tax payment'.\n    **Electricity**: Keywords like 'electricity bill'.\n    **Train**: Keywords like 'IRCTC', 'train ticket'.\n    **Gold Debit**: Keywords like 'gold debit', 'gold purchase'.\n    **Gold Credit**: Keywords like 'gold credit', 'gold investment'.\n    **Cab**: Keywords like 'Uber', 'OLA', 'cab'.\n    **Bus**: Keywords like 'red bus', 'bus ticket'.\n    **Mutual Funds Credit**: Keywords like 'mutual funds credit', 'MF payouts'.\n    **Mutual Funds Debit**: Keywords like 'mutual funds debit', 'investment'.\n    **Provident Fund Credit**: Keywords like 'pf payout'.\n    **Provident Fund Debit**: Keywords like 'pf contribution'.\n    **Movie**: Keywords like 'BookMyShow', 'BIGTREE ENTERTAINMENT'.\n    **Subscription**: Keywords like 'Apple Services', 'Disney Hotstar'.\n    **Salary Paid**: Keywords like 'salary paid', 'payroll'.\n    **Bonus**: Keywords like 'bonus', 'incentive'.\n    **Professional Services**: Keywords like 'consulting', 'UIDAI', 'PAN'.\n    **Pension**: Keywords like 'pension', 'APY'.\n    **Loan Credit**: Keywords like 'loan disbursement', loan companies (e.g., Bajaj Finance).\n    **Education**: Keywords like 'school', 'fees', 'university'.\n    **Bank Closure**: Keywords like 'account shutdown', 'service end'.\n    **Bounced I\/W Cheque**: Keywords like 'INWARD CHQ'.\n    **Bounced O\/W Cheque**: Keywords like 'OUTWARD CHQ', 'CHQ RET'.\n    **Credit Card Settlement**: Keywords like 'credit card payment', 'settlement'. Debit type.\n    **Dividend**: Keywords like 'DIV', 'INT DIV'.\n    **Hospital**: Keywords like 'hospital', 'Apollo Hospital'.\n    **Bank Interest**: Keywords like 'savings interest', 'INT'.\n    **Bonds Credit**: Keywords like 'bond payout', 'bonds credit'.\n    **Bonds Debit**: Keywords like 'bond purchase', 'bonds debit'.\n    **Fixed Deposit Credit**: Keywords like 'fixed deposit credit', 'e-RD'.\n    **Fixed Deposit Debit**: Keywords like 'fixed deposit debit', 'fd deposit'.\n    **Crypto Credit**: Keywords like 'crypto credit', 'bitcoin payout'.\n    **Crypto Debit**: Keywords like 'crypto debit', 'bitcoin debit'.\n    **Insurance Credit**: Keywords like 'insurance credit', 'policy payout'.\n    **Insurance Debit**: Keywords like 'insurance debit', 'LIC'.\n    **Fixed Deposit Sweep Out**: Keywords like 'fd sweep out'.\n    **Fixed Deposit Sweep In**: Keywords like 'fd sweep in'.\n    **Investment Interest**: Keywords like 'investment interest'.\n    **P2P Lending Credit**: Keywords like 'p2p lending credit', 'peer lending payout'.\n    **P2P Lending Debit**: Keywords like 'p2p lending debit', 'payment'.\n    **NPS Credit**: Keywords like 'NPS credit', 'national pension scheme'.\n    **NPS Debit**: Keywords like 'NPS debit', 'pension scheme payment'.\n    **Reimbursement Credit**: Keywords like 'reimbursement credit', 'REIMBURSE'.\n    **Business Income**: Keywords like 'business earnings'. Credit type.\n    **Business Expense**: Keywords like 'business expense'. Debit type, higher amount.\n    **Tax Rebate**: Keywords like 'tax rebate', 'tax refund'.\n    **Hotels and Stays**: Keywords like 'OYO', 'Airbnb'.\n    **Tolls**: Keywords like 'FASTag', 'tolls'.\n    **Rental**: Keywords like 'rental', 'lease'.\n    **Phone Recharge**: Keywords like 'phone recharge', 'mobile top-up'.\n    **Internet and DTH**: Keywords like 'broadband', 'tv subscription'.\n    **Vehicle Maintenance Expense**: Keywords like 'vehicle maintenance'.\n    **Refunds**: Keywords like 'Refund'. Credit type.\n    **Electronics**: Keywords like 'electronics', 'gadgets'.\n    **Stationery**: Keywords like 'stationery', 'office supplies'.\n    **Sports**: Keywords like 'sports', 'sporting goods'.\n    **Flight**: Keywords like 'flight', 'airfare'.\n    **Courier**: Keywords like 'courier', 'delivery service'.\n    **Household**: Keywords like 'household', 'home supplies'.\n    **Gas**: Keywords like 'gas', 'cooking gas'.\n    **Water**: Keywords like 'water bill'.\n    **Rent Received**: Keywords like 'rent received', 'rental income'.\n    **Rent Paid**: Keywords like 'rent paid', 'lease payment'.\n    **Cleaning Services**: Keywords like 'cleaning services', 'maid service'.\n    **Counseling**: Keywords like 'counseling', 'therapy'.\n    **Charity Donation**: Keywords like 'Donation', 'UNICEF'.\n    **Religious Donation**: Keywords like 'Offering', 'Church'.\n    **Political Donation**: Keywords like 'political donation', 'campaign contribution'.\n    **Fines**: Keywords like 'fines', 'penalty'.\n    **Subsidy**: Keywords like 'government subsidy', 'grant'.\n    **Jewellery**: Keywords like 'jewelry', 'gold', 'diamond'.\n\n    # RESPONSE FORMAT #\n    Return the result as a DICT:\n    {\n        \"category_level_2\": \"Classify based on narration, amount, and type.\"\n    }\n\n    # INPUT #\n    Narration: \"- ATM CASH 33041 UTTARPARA WEST BENGAL UTTARPARA\"\n    Amount: \"3500.0\"\n    Type: \"DEBIT\"\n    ","role":"user"},{"content":"Cash Withdrawal","role":"assistant"}]}
{"type":"CREDIT","mode":"OTHERS","amount":15542.0,"currentBalance":0,"transactionTimestamp":"2023-10-03T18:30:00Z","valueDate":"0001-01-01T00:00:00Z","txnId":28375,"narration":"NEFT:AKARA CAPITAL ADVISORS PRIVATE LIMI  N27723266 (Ref# S72814087)","reference":null,"_x_category":"Loan","_x_sub_category":"Loan Credit","messages":[{"content":"\nYou are a skilled financial data extractor specializing in Indian bank transactions. Focus on accurately identifying the receiver's name from transaction narrations, even if the format varies.\n","role":"system"},{"content":"\n    # CONTEXT #\n    You are a financial data expert, responsible for classifying Indian bank transactions. Each transaction has attributes:\n        - **Mode**: Transfer method (e.g., NEFT, UPI, RTGS).\n        - **Payee**: Recipient (person or organization).\n        - **Payer**: Sender (person or organization).\n        - **Description**: Additional text, common in UPI\/NEFT\/RTGS.\n\n    Narrations may contain noise (misspellings, abbreviations). Classify the transaction's subcategory based on the narration, amount, and type (credit or debit).\n\n    # OBJECTIVE #\n    1. **Classify `category_level_2`**: Choose the subcategory using provided descriptions, examples, and logic.\n\n    # CATEGORY GUIDELINES #\n    **Cash Withdrawal**: Keywords like 'ATM WDL', 'NWD'. Transaction type: Debit.\n    **Food**: Keywords like 'food', 'meal', 'Swiggy', 'Zomato'. Check UPI transactions for restaurant payments.\n    **Utility_Payments**: Keywords like 'bill payment', 'Euronet', 'Billdesk'.\n    **Salary Received**: Look for company names (not finance firms), salary keywords, and amounts.\n    **Bank Service Charges**: Keywords like 'Charges', 'Fee'. Debit transactions under a certain threshold.\n    **P2P Outward**: Person-to-person transfer (Debit).\n    **Cash Deposit**: Keywords like 'cash deposit'. Transaction type: Credit.\n    **Fuel**: Keywords like 'fuel', 'Indian Oil', 'Petrol'.\n    **Gaming**: Keywords like 'Dream11', 'gaming', 'Rummy'.\n    **Loan EMI Paid**: Keywords like 'loan', 'emi payment', with loan company names (e.g., Navi, Bajaj Finance).\n    **Apparel**: Keywords like 'Zudio', 'Myntra', 'fashion'.\n    **Medical**: Keywords like 'medical', 'Apollo Pharmacy'.\n    **Groceries**: Keywords like 'DMart', 'supermarket', 'grocery'.\n    **Alcohol**: Keywords like 'wine', 'beer', 'vodka'.\n    **Equities Credit**: Keywords like 'CREDIT', 'brokerage firms'.\n    **Equities Debit**: Keywords like 'stock purchase', 'Zerodha'.\n    **Penalties**: Keywords like 'Penalty', 'Charges'. Debit, typically under a threshold.\n    **Tax Liability**: Keywords like 'GST', 'tax payment'.\n    **Electricity**: Keywords like 'electricity bill'.\n    **Train**: Keywords like 'IRCTC', 'train ticket'.\n    **Gold Debit**: Keywords like 'gold debit', 'gold purchase'.\n    **Gold Credit**: Keywords like 'gold credit', 'gold investment'.\n    **Cab**: Keywords like 'Uber', 'OLA', 'cab'.\n    **Bus**: Keywords like 'red bus', 'bus ticket'.\n    **Mutual Funds Credit**: Keywords like 'mutual funds credit', 'MF payouts'.\n    **Mutual Funds Debit**: Keywords like 'mutual funds debit', 'investment'.\n    **Provident Fund Credit**: Keywords like 'pf payout'.\n    **Provident Fund Debit**: Keywords like 'pf contribution'.\n    **Movie**: Keywords like 'BookMyShow', 'BIGTREE ENTERTAINMENT'.\n    **Subscription**: Keywords like 'Apple Services', 'Disney Hotstar'.\n    **Salary Paid**: Keywords like 'salary paid', 'payroll'.\n    **Bonus**: Keywords like 'bonus', 'incentive'.\n    **Professional Services**: Keywords like 'consulting', 'UIDAI', 'PAN'.\n    **Pension**: Keywords like 'pension', 'APY'.\n    **Loan Credit**: Keywords like 'loan disbursement', loan companies (e.g., Bajaj Finance).\n    **Education**: Keywords like 'school', 'fees', 'university'.\n    **Bank Closure**: Keywords like 'account shutdown', 'service end'.\n    **Bounced I\/W Cheque**: Keywords like 'INWARD CHQ'.\n    **Bounced O\/W Cheque**: Keywords like 'OUTWARD CHQ', 'CHQ RET'.\n    **Credit Card Settlement**: Keywords like 'credit card payment', 'settlement'. Debit type.\n    **Dividend**: Keywords like 'DIV', 'INT DIV'.\n    **Hospital**: Keywords like 'hospital', 'Apollo Hospital'.\n    **Bank Interest**: Keywords like 'savings interest', 'INT'.\n    **Bonds Credit**: Keywords like 'bond payout', 'bonds credit'.\n    **Bonds Debit**: Keywords like 'bond purchase', 'bonds debit'.\n    **Fixed Deposit Credit**: Keywords like 'fixed deposit credit', 'e-RD'.\n    **Fixed Deposit Debit**: Keywords like 'fixed deposit debit', 'fd deposit'.\n    **Crypto Credit**: Keywords like 'crypto credit', 'bitcoin payout'.\n    **Crypto Debit**: Keywords like 'crypto debit', 'bitcoin debit'.\n    **Insurance Credit**: Keywords like 'insurance credit', 'policy payout'.\n    **Insurance Debit**: Keywords like 'insurance debit', 'LIC'.\n    **Fixed Deposit Sweep Out**: Keywords like 'fd sweep out'.\n    **Fixed Deposit Sweep In**: Keywords like 'fd sweep in'.\n    **Investment Interest**: Keywords like 'investment interest'.\n    **P2P Lending Credit**: Keywords like 'p2p lending credit', 'peer lending payout'.\n    **P2P Lending Debit**: Keywords like 'p2p lending debit', 'payment'.\n    **NPS Credit**: Keywords like 'NPS credit', 'national pension scheme'.\n    **NPS Debit**: Keywords like 'NPS debit', 'pension scheme payment'.\n    **Reimbursement Credit**: Keywords like 'reimbursement credit', 'REIMBURSE'.\n    **Business Income**: Keywords like 'business earnings'. Credit type.\n    **Business Expense**: Keywords like 'business expense'. Debit type, higher amount.\n    **Tax Rebate**: Keywords like 'tax rebate', 'tax refund'.\n    **Hotels and Stays**: Keywords like 'OYO', 'Airbnb'.\n    **Tolls**: Keywords like 'FASTag', 'tolls'.\n    **Rental**: Keywords like 'rental', 'lease'.\n    **Phone Recharge**: Keywords like 'phone recharge', 'mobile top-up'.\n    **Internet and DTH**: Keywords like 'broadband', 'tv subscription'.\n    **Vehicle Maintenance Expense**: Keywords like 'vehicle maintenance'.\n    **Refunds**: Keywords like 'Refund'. Credit type.\n    **Electronics**: Keywords like 'electronics', 'gadgets'.\n    **Stationery**: Keywords like 'stationery', 'office supplies'.\n    **Sports**: Keywords like 'sports', 'sporting goods'.\n    **Flight**: Keywords like 'flight', 'airfare'.\n    **Courier**: Keywords like 'courier', 'delivery service'.\n    **Household**: Keywords like 'household', 'home supplies'.\n    **Gas**: Keywords like 'gas', 'cooking gas'.\n    **Water**: Keywords like 'water bill'.\n    **Rent Received**: Keywords like 'rent received', 'rental income'.\n    **Rent Paid**: Keywords like 'rent paid', 'lease payment'.\n    **Cleaning Services**: Keywords like 'cleaning services', 'maid service'.\n    **Counseling**: Keywords like 'counseling', 'therapy'.\n    **Charity Donation**: Keywords like 'Donation', 'UNICEF'.\n    **Religious Donation**: Keywords like 'Offering', 'Church'.\n    **Political Donation**: Keywords like 'political donation', 'campaign contribution'.\n    **Fines**: Keywords like 'fines', 'penalty'.\n    **Subsidy**: Keywords like 'government subsidy', 'grant'.\n    **Jewellery**: Keywords like 'jewelry', 'gold', 'diamond'.\n\n    # RESPONSE FORMAT #\n    Return the result as a DICT:\n    {\n        \"category_level_2\": \"Classify based on narration, amount, and type.\"\n    }\n\n    # INPUT #\n    Narration: \"NEFT:AKARA CAPITAL ADVISORS PRIVATE LIMI  N27723266 (Ref# S72814087)\"\n    Amount: \"15542.0\"\n    Type: \"CREDIT\"\n    ","role":"user"},{"content":"Loan Credit","role":"assistant"}]}
{"type":"DEBIT","mode":"OTHERS","amount":391.0,"currentBalance":0,"transactionTimestamp":"2024-02-02T18:30:00Z","valueDate":"0001-01-01T00:00:00Z","txnId":5122,"narration":"ECS\/1012118868672\/BAJAJ FINANCE LTD.","reference":null,"_x_category":"Loan","_x_sub_category":"Loan EMI Paid","messages":[{"content":"\nYou are a skilled financial data extractor specializing in Indian bank transactions. Focus on accurately identifying the receiver's name from transaction narrations, even if the format varies.\n","role":"system"},{"content":"\n    # CONTEXT #\n    You are a financial data expert, responsible for classifying Indian bank transactions. Each transaction has attributes:\n        - **Mode**: Transfer method (e.g., NEFT, UPI, RTGS).\n        - **Payee**: Recipient (person or organization).\n        - **Payer**: Sender (person or organization).\n        - **Description**: Additional text, common in UPI\/NEFT\/RTGS.\n\n    Narrations may contain noise (misspellings, abbreviations). Classify the transaction's subcategory based on the narration, amount, and type (credit or debit).\n\n    # OBJECTIVE #\n    1. **Classify `category_level_2`**: Choose the subcategory using provided descriptions, examples, and logic.\n\n    # CATEGORY GUIDELINES #\n    **Cash Withdrawal**: Keywords like 'ATM WDL', 'NWD'. Transaction type: Debit.\n    **Food**: Keywords like 'food', 'meal', 'Swiggy', 'Zomato'. Check UPI transactions for restaurant payments.\n    **Utility_Payments**: Keywords like 'bill payment', 'Euronet', 'Billdesk'.\n    **Salary Received**: Look for company names (not finance firms), salary keywords, and amounts.\n    **Bank Service Charges**: Keywords like 'Charges', 'Fee'. Debit transactions under a certain threshold.\n    **P2P Outward**: Person-to-person transfer (Debit).\n    **Cash Deposit**: Keywords like 'cash deposit'. Transaction type: Credit.\n    **Fuel**: Keywords like 'fuel', 'Indian Oil', 'Petrol'.\n    **Gaming**: Keywords like 'Dream11', 'gaming', 'Rummy'.\n    **Loan EMI Paid**: Keywords like 'loan', 'emi payment', with loan company names (e.g., Navi, Bajaj Finance).\n    **Apparel**: Keywords like 'Zudio', 'Myntra', 'fashion'.\n    **Medical**: Keywords like 'medical', 'Apollo Pharmacy'.\n    **Groceries**: Keywords like 'DMart', 'supermarket', 'grocery'.\n    **Alcohol**: Keywords like 'wine', 'beer', 'vodka'.\n    **Equities Credit**: Keywords like 'CREDIT', 'brokerage firms'.\n    **Equities Debit**: Keywords like 'stock purchase', 'Zerodha'.\n    **Penalties**: Keywords like 'Penalty', 'Charges'. Debit, typically under a threshold.\n    **Tax Liability**: Keywords like 'GST', 'tax payment'.\n    **Electricity**: Keywords like 'electricity bill'.\n    **Train**: Keywords like 'IRCTC', 'train ticket'.\n    **Gold Debit**: Keywords like 'gold debit', 'gold purchase'.\n    **Gold Credit**: Keywords like 'gold credit', 'gold investment'.\n    **Cab**: Keywords like 'Uber', 'OLA', 'cab'.\n    **Bus**: Keywords like 'red bus', 'bus ticket'.\n    **Mutual Funds Credit**: Keywords like 'mutual funds credit', 'MF payouts'.\n    **Mutual Funds Debit**: Keywords like 'mutual funds debit', 'investment'.\n    **Provident Fund Credit**: Keywords like 'pf payout'.\n    **Provident Fund Debit**: Keywords like 'pf contribution'.\n    **Movie**: Keywords like 'BookMyShow', 'BIGTREE ENTERTAINMENT'.\n    **Subscription**: Keywords like 'Apple Services', 'Disney Hotstar'.\n    **Salary Paid**: Keywords like 'salary paid', 'payroll'.\n    **Bonus**: Keywords like 'bonus', 'incentive'.\n    **Professional Services**: Keywords like 'consulting', 'UIDAI', 'PAN'.\n    **Pension**: Keywords like 'pension', 'APY'.\n    **Loan Credit**: Keywords like 'loan disbursement', loan companies (e.g., Bajaj Finance).\n    **Education**: Keywords like 'school', 'fees', 'university'.\n    **Bank Closure**: Keywords like 'account shutdown', 'service end'.\n    **Bounced I\/W Cheque**: Keywords like 'INWARD CHQ'.\n    **Bounced O\/W Cheque**: Keywords like 'OUTWARD CHQ', 'CHQ RET'.\n    **Credit Card Settlement**: Keywords like 'credit card payment', 'settlement'. Debit type.\n    **Dividend**: Keywords like 'DIV', 'INT DIV'.\n    **Hospital**: Keywords like 'hospital', 'Apollo Hospital'.\n    **Bank Interest**: Keywords like 'savings interest', 'INT'.\n    **Bonds Credit**: Keywords like 'bond payout', 'bonds credit'.\n    **Bonds Debit**: Keywords like 'bond purchase', 'bonds debit'.\n    **Fixed Deposit Credit**: Keywords like 'fixed deposit credit', 'e-RD'.\n    **Fixed Deposit Debit**: Keywords like 'fixed deposit debit', 'fd deposit'.\n    **Crypto Credit**: Keywords like 'crypto credit', 'bitcoin payout'.\n    **Crypto Debit**: Keywords like 'crypto debit', 'bitcoin debit'.\n    **Insurance Credit**: Keywords like 'insurance credit', 'policy payout'.\n    **Insurance Debit**: Keywords like 'insurance debit', 'LIC'.\n    **Fixed Deposit Sweep Out**: Keywords like 'fd sweep out'.\n    **Fixed Deposit Sweep In**: Keywords like 'fd sweep in'.\n    **Investment Interest**: Keywords like 'investment interest'.\n    **P2P Lending Credit**: Keywords like 'p2p lending credit', 'peer lending payout'.\n    **P2P Lending Debit**: Keywords like 'p2p lending debit', 'payment'.\n    **NPS Credit**: Keywords like 'NPS credit', 'national pension scheme'.\n    **NPS Debit**: Keywords like 'NPS debit', 'pension scheme payment'.\n    **Reimbursement Credit**: Keywords like 'reimbursement credit', 'REIMBURSE'.\n    **Business Income**: Keywords like 'business earnings'. Credit type.\n    **Business Expense**: Keywords like 'business expense'. Debit type, higher amount.\n    **Tax Rebate**: Keywords like 'tax rebate', 'tax refund'.\n    **Hotels and Stays**: Keywords like 'OYO', 'Airbnb'.\n    **Tolls**: Keywords like 'FASTag', 'tolls'.\n    **Rental**: Keywords like 'rental', 'lease'.\n    **Phone Recharge**: Keywords like 'phone recharge', 'mobile top-up'.\n    **Internet and DTH**: Keywords like 'broadband', 'tv subscription'.\n    **Vehicle Maintenance Expense**: Keywords like 'vehicle maintenance'.\n    **Refunds**: Keywords like 'Refund'. Credit type.\n    **Electronics**: Keywords like 'electronics', 'gadgets'.\n    **Stationery**: Keywords like 'stationery', 'office supplies'.\n    **Sports**: Keywords like 'sports', 'sporting goods'.\n    **Flight**: Keywords like 'flight', 'airfare'.\n    **Courier**: Keywords like 'courier', 'delivery service'.\n    **Household**: Keywords like 'household', 'home supplies'.\n    **Gas**: Keywords like 'gas', 'cooking gas'.\n    **Water**: Keywords like 'water bill'.\n    **Rent Received**: Keywords like 'rent received', 'rental income'.\n    **Rent Paid**: Keywords like 'rent paid', 'lease payment'.\n    **Cleaning Services**: Keywords like 'cleaning services', 'maid service'.\n    **Counseling**: Keywords like 'counseling', 'therapy'.\n    **Charity Donation**: Keywords like 'Donation', 'UNICEF'.\n    **Religious Donation**: Keywords like 'Offering', 'Church'.\n    **Political Donation**: Keywords like 'political donation', 'campaign contribution'.\n    **Fines**: Keywords like 'fines', 'penalty'.\n    **Subsidy**: Keywords like 'government subsidy', 'grant'.\n    **Jewellery**: Keywords like 'jewelry', 'gold', 'diamond'.\n\n    # RESPONSE FORMAT #\n    Return the result as a DICT:\n    {\n        \"category_level_2\": \"Classify based on narration, amount, and type.\"\n    }\n\n    # INPUT #\n    Narration: \"ECS\/1012118868672\/BAJAJ FINANCE LTD.\"\n    Amount: \"391.0\"\n    Type: \"DEBIT\"\n    ","role":"user"},{"content":"Loan EMI Paid","role":"assistant"}]}