Yaroslav95 commited on
Commit
473a7cc
·
1 Parent(s): bd0ddb2
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -104,7 +104,7 @@ def find_best_price(request):
104
  "For each request, you should:\n"
105
  "1. Check if the requested size is available. If not, check if vendor supports custom sizes.\n"
106
  "2. Calculate the final price by:\n"
107
- " - Finding the nearest lower quantity in the base price list\n"
108
  " - Multiplying by the size multiplier\n"
109
  " - Multiplying by the material\n"
110
  "3. Do not use linear interpolation for quantities - use the nearest lower quantity pricing.\n\n"
@@ -113,12 +113,11 @@ def find_best_price(request):
113
  "Answer:\n"
114
  "PrintPronto: Doesn't support custom size\n"
115
  "###\n"
116
- "BannerLord: 600 * multiplier for custom size * multiplier for material. Total for 600: $240\n"
117
  "###\n"
118
- "PrintMaster: 600 * multiplier for custom size * multiplier for material. Total for 600: $216\n\n"
119
  "If user haven't specified one of the parameters, use the default one"
120
- # "Your response should display ONLY final pricing for each available option, nothing more"
121
- "Explain your calculations"
122
  "The '###' symbol must separate each printer's price calculation.\n"
123
  )
124
 
 
104
  "For each request, you should:\n"
105
  "1. Check if the requested size is available. If not, check if vendor supports custom sizes.\n"
106
  "2. Calculate the final price by:\n"
107
+ " - Finding the nearest lower quantity in the base price list. For example if user requests 700 cards - the nearest base price list is for 500\n"
108
  " - Multiplying by the size multiplier\n"
109
  " - Multiplying by the material\n"
110
  "3. Do not use linear interpolation for quantities - use the nearest lower quantity pricing.\n\n"
 
113
  "Answer:\n"
114
  "PrintPronto: Doesn't support custom size\n"
115
  "###\n"
116
+ "BannerLord: 600 * multiplier for custom size * multiplier for material * price per unit for nearest pack size. Total for 600: $240\n"
117
  "###\n"
118
+ "PrintMaster: 600 * multiplier for custom size * multiplier for material * price per unit for nearest pack size. Total for 600: $216\n\n"
119
  "If user haven't specified one of the parameters, use the default one"
120
+ "Your response should display ONLY final pricing for each available option, nothing more"
 
121
  "The '###' symbol must separate each printer's price calculation.\n"
122
  )
123