qq1023 commited on
Commit
f3c99da
1 Parent(s): df5c340

Update categories/travel_flight/model.py

Browse files
Files changed (1) hide show
  1. categories/travel_flight/model.py +4 -4
categories/travel_flight/model.py CHANGED
@@ -14,8 +14,8 @@ class InformationExtractedFromABillReceipt(BaseModel):
14
  ResponseSchema(name="place (to)", description="place where flight end/lands"),
15
  ResponseSchema(name="date (to)", description="date on which flight end/lands (DD/MM/YYYY)"),
16
  ResponseSchema(name="time (to)", description="time at which flight end/lands"),
17
- ResponseSchema(name="uids", description ="PNR Number of flight"),
18
- ResponseSchema(name="total", description="cost of flight ticket")
19
  ]"""
20
 
21
  place_from: str = Field(..., title="place where flight starts/takes-off")
@@ -26,5 +26,5 @@ class InformationExtractedFromABillReceipt(BaseModel):
26
  place_to: str = Field(..., title="place where flight end/lands")
27
  date_to: date = Field(..., title="date on which flight end/lands (DD/MM/YYYY)")
28
  time_to: time = Field(..., title="time at which flight end/lands")
29
- pnr_number: str = Field(..., title="PNR Number of flight")
30
- amount: float = Field(..., title="cost of flight ticket")
 
14
  ResponseSchema(name="place (to)", description="place where flight end/lands"),
15
  ResponseSchema(name="date (to)", description="date on which flight end/lands (DD/MM/YYYY)"),
16
  ResponseSchema(name="time (to)", description="time at which flight end/lands"),
17
+ ResponseSchema(name="PNR Number", description ="PNR Number of flight"),
18
+ ResponseSchema(name="Amount", description="cost of flight ticket")
19
  ]"""
20
 
21
  place_from: str = Field(..., title="place where flight starts/takes-off")
 
26
  place_to: str = Field(..., title="place where flight end/lands")
27
  date_to: date = Field(..., title="date on which flight end/lands (DD/MM/YYYY)")
28
  time_to: time = Field(..., title="time at which flight end/lands")
29
+ uids: str = Field(..., title="PNR Number of flight")
30
+ total: float = Field(..., title="cost of flight ticket")