Spaces:
Sleeping
Sleeping
Update categories/travel_flight/model.py
Browse files
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="
|
18 |
-
ResponseSchema(name="
|
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 |
-
|
30 |
-
|
|
|
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")
|