Spaces:
Sleeping
Sleeping
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
|