Amamrnaf commited on
Commit
6917493
·
1 Parent(s): df646cb

`Refactor dataSchema.py: update class definitions and add docstring`

Browse files
Files changed (1) hide show
  1. dataSchema.py +1 -2
dataSchema.py CHANGED
@@ -139,7 +139,7 @@ class service(BaseModel):
139
  rate: float = Field(..., description="the rate of the service.")
140
  total: float = Field(...,description="total which is the rate* No of days/hours .")
141
 
142
- class bank_details:
143
  bank_name: str = Field(..., description="Name of the bank.")
144
  swift_bic_code: str = Field(None, description=" SWIFT/BIC CODE.")
145
  iban_number: str = Field(...,description="IBAN Number.")
@@ -165,7 +165,6 @@ class Noc_Invoice(BaseModel):
165
  second_details : List[bank_details]=Field(...,description="second bank details")
166
 
167
 
168
-
169
  Noc_timesheet_prompt = """
170
  Based on the provided timesheet details, extract the following information:
171
  - Position title of the person.
 
139
  rate: float = Field(..., description="the rate of the service.")
140
  total: float = Field(...,description="total which is the rate* No of days/hours .")
141
 
142
+ class bank_details(BaseModel):
143
  bank_name: str = Field(..., description="Name of the bank.")
144
  swift_bic_code: str = Field(None, description=" SWIFT/BIC CODE.")
145
  iban_number: str = Field(...,description="IBAN Number.")
 
165
  second_details : List[bank_details]=Field(...,description="second bank details")
166
 
167
 
 
168
  Noc_timesheet_prompt = """
169
  Based on the provided timesheet details, extract the following information:
170
  - Position title of the person.