ravi259 commited on
Commit
60e1df3
·
1 Parent(s): c549199

change in prompt

Browse files
Files changed (1) hide show
  1. app.py +15 -1
app.py CHANGED
@@ -326,7 +326,7 @@ prompt_1 + "```{loan_data} ```"
326
  #prompt_template_1.format(loan_data=result.lower())
327
 
328
 
329
- prompt_2 = """Loan transaction details are the information of transaction happened during a period and contains
330
  details like Month, EMI as monthly amount paid, Payment status as Paid or Unpaid, outstanding Balance after payment of EMI.
331
 
332
  Return a table of ALL transactions in a pandas data frame object
@@ -341,6 +341,20 @@ Just return JSON object with keys Month, EMI Paid, Payment Status, Interest Amo
341
  ONLY return the JSON.
342
  """
343
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
  prompt_template_2 = PromptTemplate.from_template(
345
  #prompt_2 + "```{response_1} {loan_data} ```"
346
  prompt_2 + "``` {loan_data} ```"
 
326
  #prompt_template_1.format(loan_data=result.lower())
327
 
328
 
329
+ prompt_2_temp = """Loan transaction details are the information of transaction happened during a period and contains
330
  details like Month, EMI as monthly amount paid, Payment status as Paid or Unpaid, outstanding Balance after payment of EMI.
331
 
332
  Return a table of ALL transactions in a pandas data frame object
 
341
  ONLY return the JSON.
342
  """
343
 
344
+ prompt_2 = """Loan transaction details are the information of transaction happened during a period and contains
345
+ details like Month, EMI as monthly amount paid, Payment status as Paid or Unpaid, outstanding Balance after payment of EMI.
346
+
347
+ Return a JSON object
348
+
349
+ 1. COMBININNG monthly transactions for each month
350
+ 2. WITHOUT missing rows for ANY month
351
+ 3. with keys Month, EMI Paid, Payment Status, Interest Amount, Principal Amount, Balance Amount
352
+
353
+ from text in triple tick marks.
354
+
355
+ ONLY return the JSON.
356
+ """
357
+
358
  prompt_template_2 = PromptTemplate.from_template(
359
  #prompt_2 + "```{response_1} {loan_data} ```"
360
  prompt_2 + "``` {loan_data} ```"