adit94 commited on
Commit
3c9c686
1 Parent(s): e2a4e07

Update helpers/entity_extraction_helpers.py

Browse files
helpers/entity_extraction_helpers.py CHANGED
@@ -116,6 +116,7 @@ def process_insurance_document(pii_instance, mongo_instance, openai_instance, oc
116
 
117
  out = {
118
  "entities":openai_entities,
119
- "masked_text":masked_text
 
120
  }
121
  return out
 
116
 
117
  out = {
118
  "entities":openai_entities,
119
+ "masked_text":masked_text,
120
+ "masked_entities":pii_entities
121
  }
122
  return out