Omkar008 commited on
Commit
d0ea3b3
1 Parent(s): eefa033

Update services/utils.py

Browse files
Files changed (1) hide show
  1. services/utils.py +1 -1
services/utils.py CHANGED
@@ -42,7 +42,7 @@ def strcuture_document_data(raw_text:str)->dict:
42
  temperature = 0.0
43
  model = OpenAI(model_name=model_name, temperature=temperature, max_tokens=800)
44
  doc_query = (
45
- "Extract and return a JSON object containing only the key entities from the provided receipt. "
46
  "\nReceipt Data:\n" + raw_text
47
  )
48
  print(raw_text)
 
42
  temperature = 0.0
43
  model = OpenAI(model_name=model_name, temperature=temperature, max_tokens=800)
44
  doc_query = (
45
+ "Extract and return a JSON object containing only the following keys strictly : brand , total_cost , location , no_of_items , purchase_category , Date . "
46
  "\nReceipt Data:\n" + raw_text
47
  )
48
  print(raw_text)