Spaces:
Sleeping
Sleeping
Update categories/travel_flight/model.py
Browse files
categories/travel_flight/model.py
CHANGED
@@ -15,7 +15,9 @@ class InformationExtractedFromABillReceipt(BaseModel):
|
|
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")
|
@@ -28,3 +30,4 @@ class InformationExtractedFromABillReceipt(BaseModel):
|
|
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")
|
|
|
|
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 |
+
ResponseSchema(name="Billing Date", description="The date the invoice was issued")
|
20 |
+
))
|
21 |
]"""
|
22 |
|
23 |
place_from: str = Field(..., title="place where flight starts/takes-off")
|
|
|
30 |
time_to: time = Field(..., title="time at which flight end/lands")
|
31 |
uids: str = Field(..., title="PNR Number of flight")
|
32 |
total: float = Field(..., title="cost of flight ticket")
|
33 |
+
issue_date: date = Field(..., title="The date the invoice was issued")
|