yashmakan commited on
Commit
cdec900
1 Parent(s): 1524208

Update services/utils.py

Browse files
Files changed (1) hide show
  1. services/utils.py +1 -2
services/utils.py CHANGED
@@ -65,8 +65,7 @@ def strcuture_document_data(raw_text:str)->dict:
65
  # )
66
 
67
  doc_query= (
68
- "Extract and return strictly a JSON object containing only the following keys: brand, total_cost, location, purchase_category, brand_category, Date.
69
- Ensure that if a value is not present in the OCR text, it is returned as null."
70
  )
71
 
72
  parser = PydanticOutputParser(pydantic_object=Candidate)
 
65
  # )
66
 
67
  doc_query= (
68
+ "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."
 
69
  )
70
 
71
  parser = PydanticOutputParser(pydantic_object=Candidate)