alexandraroze commited on
Commit
ce88749
·
1 Parent(s): 50d43ea

updated cost estimation

Browse files
Files changed (1) hide show
  1. cost_estimation/prompts.py +18 -0
cost_estimation/prompts.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ESTIMATE_COST_OF_CAR_PARTS_REPLACEMENT_PROMPT = """
2
+ I will provide you with a list of car parts that need to be replaced due to damage in a car accident (in German).
3
+ Your task is to estimate the cost of each part in Euros (EUR) based on the damage description provided.
4
+ Also, you need to estimate approximate labor hours required to replace each part.
5
+ Try to shorten the title of each part without losing the meaning (for example, Türrahmen (Beifahrerseite) -> Türrahmen).
6
+ There may be duplicate parts in the list (for example, for right and left sides of the car), so leave only one of them.
7
+ You may also expand the list with new parts which are not in the list but may be necessary for the repair.
8
+ Your output should be a python list of tuples:
9
+ [
10
+ (<Part 1>, <Cost 1>, <Labor Hours 1>),
11
+ (<Part 2>, <Cost 2>, <Labor Hours 2>),
12
+ ...
13
+ ]
14
+ Write only the part name (str), cost (float), and labor hours (float) in the list. Do not include any additional information or comments.
15
+
16
+ List of car parts:
17
+ {0}
18
+ """.format