Omkar008 commited on
Commit
ad282b7
1 Parent(s): 23410f1

Update services/utils.py

Browse files
Files changed (1) hide show
  1. services/utils.py +3 -3
services/utils.py CHANGED
@@ -95,9 +95,9 @@ def strcuture_document_data(raw_text:str)->dict:
95
  result = model.invoke(input.to_string())
96
 
97
  time.sleep(0.25)
98
- # print(f"GPT Response {result}")
99
- # result = extract_json_from_string(result)
100
- # print(f"Formatted Response : {result}")
101
 
102
  class_object= parser.parse(result)
103
  dict_object=class_object.__dict__
 
95
  result = model.invoke(input.to_string())
96
 
97
  time.sleep(0.25)
98
+ print(f"GPT Response {result}")
99
+ result = extract_json_from_string(result)
100
+ print(f"Formatted Response : {result}")
101
 
102
  class_object= parser.parse(result)
103
  dict_object=class_object.__dict__