We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5e3a24 commit a25f22bCopy full SHA for a25f22b
adala/skills/collection/entity_extraction.py
@@ -267,6 +267,9 @@ def extract_indices(self, df):
267
input_field_name = self._get_input_field_name()
268
output_field_name = self._get_output_field_name()
269
for i, row in df.iterrows():
270
+ if row.get('_adala_error'):
271
+ logger.warning(f"Error in row {i}: {row['_adala_message']}")
272
+ continue
273
text = row[input_field_name]
274
entities = row[output_field_name]
275
to_remove = []
0 commit comments