rairo commited on
Commit
f499f96
·
verified ·
1 Parent(s): 119b0ac

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -73,6 +73,7 @@ def process_with_gemini(model, text):
73
      - Destination_of_funds (a string, if transaction 'Type' is 'expense' categorize it based on description into: Water and electricity, Salaries and wages,
74
  Repairs & Maintenance, Motor vehicle expenses, Projects Expenses, Hardware expenses, Refunds, Accounting fees, Loan interest, Bank charges, Insurance,
75
  SARS PAYE UIF, Advertising & Marketing,Logistics and distribution, Fuel, Website hosting fees, Rentals, Subscriptions, Computer internet and Telephone, Staff training, Travel and accommodation, Depreciation, Other expenses. If no category matches, default to ‘Other expenses’. If 'Type' is 'income' set Destination_of_funds to ‘income’.)
 
76
      
77
      Return ONLY valid JSON with this structure:
78
      {
 
73
      - Destination_of_funds (a string, if transaction 'Type' is 'expense' categorize it based on description into: Water and electricity, Salaries and wages,
74
  Repairs & Maintenance, Motor vehicle expenses, Projects Expenses, Hardware expenses, Refunds, Accounting fees, Loan interest, Bank charges, Insurance,
75
  SARS PAYE UIF, Advertising & Marketing,Logistics and distribution, Fuel, Website hosting fees, Rentals, Subscriptions, Computer internet and Telephone, Staff training, Travel and accommodation, Depreciation, Other expenses. If no category matches, default to ‘Other expenses’. If 'Type' is 'income' set Destination_of_funds to ‘income’.)
76
+ - ignore open or closing balances.
77
      
78
      Return ONLY valid JSON with this structure:
79
      {