qq1023 commited on
Commit
4f806aa
1 Parent(s): a8c7c25

Update categories/travel_flight/model.py

Browse files
Files changed (1) hide show
  1. categories/travel_flight/model.py +13 -9
categories/travel_flight/model.py CHANGED
@@ -8,15 +8,19 @@ from pydantic import BaseModel, Field
8
  class InformationExtractedFromABillReceipt(BaseModel):
9
  ''''''
10
 
11
- place_from: str = Field(..., title="place where journey starts")
12
- date_from: date = Field(
13
- ..., title="date on which journey starts (DD/MM/YYYY)"
14
- )
15
- time_from: time = Field(..., title="time at which journey starts")
16
- place_to: str = Field(..., title="place where journey end")
17
- date_to: date = Field(..., title="date on which journey end (DD/MM/YYYY)")
18
- time_to: time = Field(..., title="time at which journey end")
 
 
 
 
19
  uids: str = Field(..., title="The bill number/invoice number")
20
- total: float = Field(..., title="cost of journey ticket")
21
  issue_date: date = Field(..., title="The date the invoice was issued")
22
  summary: str = Field(..., title="5-6 words short summary of purchased good(s)")
 
8
  class InformationExtractedFromABillReceipt(BaseModel):
9
  ''''''
10
 
11
+ # place_from: str = Field(..., title="place where journey starts")
12
+ # date_from: date = Field(
13
+ # ..., title="date on which journey starts (DD/MM/YYYY)"
14
+ # )
15
+ # time_from: time = Field(..., title="time at which journey starts")
16
+ # place_to: str = Field(..., title="place where journey end")
17
+ # date_to: date = Field(..., title="date on which journey end (DD/MM/YYYY)")
18
+ # time_to: time = Field(..., title="time at which journey end")
19
+ # uids: str = Field(..., title="The bill number/invoice number")
20
+ # total: float = Field(..., title="cost of journey ticket")
21
+ # issue_date: date = Field(..., title="The date the invoice was issued")
22
+ # summary: str = Field(..., title="5-6 words short summary of purchased good(s)")
23
  uids: str = Field(..., title="The bill number/invoice number")
24
+ total: float = Field(..., title="cost of journey ticket converted from given currency to INR")
25
  issue_date: date = Field(..., title="The date the invoice was issued")
26
  summary: str = Field(..., title="5-6 words short summary of purchased good(s)")