Spaces:
Sleeping
Sleeping
Update receipt_gen_agent.py
Browse files- receipt_gen_agent.py +2 -0
receipt_gen_agent.py
CHANGED
|
@@ -45,6 +45,7 @@ def generate_data_node(state:State):
|
|
| 45 |
|
| 46 |
class Form(BaseModel):
|
| 47 |
loc_name: str = Field(description='the name of the location if no name put empty str')
|
|
|
|
| 48 |
address: str = Field(description='the address of the location if no location put empty str')
|
| 49 |
date: str = Field(description='the date if no date put empty str')
|
| 50 |
time: str = Field(description='the time if no time put empty str')
|
|
@@ -116,6 +117,7 @@ def data_editor_node(state:State):
|
|
| 116 |
|
| 117 |
class Form(BaseModel):
|
| 118 |
loc_name: str = Field(description='the name of the location if no name put empty str')
|
|
|
|
| 119 |
address: str = Field(description='the address of the location if no location put empty str')
|
| 120 |
date: str = Field(description='the date if no date put empty str')
|
| 121 |
time: str = Field(description='the time if no time put empty str')
|
|
|
|
| 45 |
|
| 46 |
class Form(BaseModel):
|
| 47 |
loc_name: str = Field(description='the name of the location if no name put empty str')
|
| 48 |
+
table: str = Field(description='table name or number, if no table put an empty str')
|
| 49 |
address: str = Field(description='the address of the location if no location put empty str')
|
| 50 |
date: str = Field(description='the date if no date put empty str')
|
| 51 |
time: str = Field(description='the time if no time put empty str')
|
|
|
|
| 117 |
|
| 118 |
class Form(BaseModel):
|
| 119 |
loc_name: str = Field(description='the name of the location if no name put empty str')
|
| 120 |
+
table: str = Field(description='table name or number, if no table put an empty str')
|
| 121 |
address: str = Field(description='the address of the location if no location put empty str')
|
| 122 |
date: str = Field(description='the date if no date put empty str')
|
| 123 |
time: str = Field(description='the time if no time put empty str')
|