Yaroslav95 commited on
Commit
2415428
·
1 Parent(s): a9d3c11
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -104,8 +104,9 @@ 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. For example if user requests 700 cards - the nearest base price list is for 500\n"
108
  " - Multiplying by the size multiplier\n"
 
109
  "3. Do not use linear interpolation for quantities - use the nearest lower quantity pricing.\n\n"
110
  "Example:\n"
111
  "User: I want to print 600 business cards, 6x6 cm size, \n"
 
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 user requested amount. IMPORTANT. Do no multiply by nearest lower quantity!"
110
  "3. Do not use linear interpolation for quantities - use the nearest lower quantity pricing.\n\n"
111
  "Example:\n"
112
  "User: I want to print 600 business cards, 6x6 cm size, \n"