vithacocf commited on
Commit
4e7d703
·
verified ·
1 Parent(s): a7e6208

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -47,16 +47,17 @@ Please analyze the freight rate table in the file I provide and convert it into
47
  "transit": "...",
48
  "transit_time": "...",
49
  "weight_breaks": {
50
- "m": ...,
51
- "n": ...,
52
- "45kg": ...,
53
- "100kg": ...,
54
- "300kg": ...,
55
- "500kg": ...,
56
- "1000kg": ...,
57
  "other": {
58
  key: value
59
- }
 
60
  },
61
  "remark": "..."
62
  }
@@ -84,7 +85,7 @@ Please analyze the freight rate table in the file I provide and convert it into
84
 
85
  STRICT RULES:
86
  - ONLY return a single JSON object as specified above.
87
- - All rates must exactly match the corresponding weight break columns (45kg, 100kg, 300kg, 500kg, 1000kg, etc.). set null if N/A. No assumptions or interpolations.
88
  - If the table shows "RQ" or similar, set value as "RQST".
89
  - Group same-price destinations into one record separated by "/".
90
  - Always use IATA code for origin and destination.
 
47
  "transit": "...",
48
  "transit_time": "...",
49
  "weight_breaks": {
50
+ "M": ...,
51
+ "N": ...,
52
+ "+45kg": ...,
53
+ "+100kg": ...,
54
+ "+300kg": ...,
55
+ "+500kg": ...,
56
+ "+1000kg": ...,
57
  "other": {
58
  key: value
59
+ },
60
+ "weight_breaks_reason":"Why chosen weight_breaks?"
61
  },
62
  "remark": "..."
63
  }
 
85
 
86
  STRICT RULES:
87
  - ONLY return a single JSON object as specified above.
88
+ - All rates must exactly match the corresponding weight break columns (M,N,45kg, 100kg, 300kg, 500kg, 1000kg, etc.). set null if N/A. No assumptions or interpolations.
89
  - If the table shows "RQ" or similar, set value as "RQST".
90
  - Group same-price destinations into one record separated by "/".
91
  - Always use IATA code for origin and destination.