code: def bio_samples_to_df(samples):
      raw_strings = []
      entity_list = []
      for sample in samples:
          raw_string, entities = read_bio(sample)
          raw_strings.append(raw_string)
          entity_list.append(json.dumps(entities))
      df = pd.DataFrame(
          {
              "text_snippet": raw_strings,
              "entity_annotations": entity_list,
          }
      )
      return df
  
file_path: autogluon/multimodal/tests/unittests/others_2/test_ner_chinese.py
imports: import json
  import os
  import pandas
  from autogluon.multimodal import MultiModalPredictor
  from autogluon.multimodal.utils import download
  from ..utils.utils import get_home_dir
label_desc: Use image node_id 3 for calling a global function with example usage: bio_samples_to_df(samples) and returns: df