Spaces:
Sleeping
Sleeping
Update services/utils.py
Browse files- services/utils.py +1 -1
services/utils.py
CHANGED
@@ -77,7 +77,7 @@ def strcuture_document_data(raw_text:str)->dict:
|
|
77 |
# )
|
78 |
|
79 |
doc_query= (
|
80 |
-
"Extract and return strictly a JSON object containing only the following keys: brand, total_cost, location, purchase_category, brand_category, Date. Ensure that if a value is not present in the OCR text, it is returned as null."
|
81 |
)
|
82 |
|
83 |
parser = PydanticOutputParser(pydantic_object=Candidate)
|
|
|
77 |
# )
|
78 |
|
79 |
doc_query= (
|
80 |
+
"Extract and return strictly a JSON object containing only the following keys: brand, total_cost, location, purchase_category, brand_category, Date , currency ,filename,payment_method . Ensure that if a value is not present in the OCR text, it is returned as null."
|
81 |
)
|
82 |
|
83 |
parser = PydanticOutputParser(pydantic_object=Candidate)
|