code: def __init__(self, type_list, role_list, type_role_dict=None):
      self.type_list = set(type_list)
      self.role_list = set(role_list)
      self.type_role_dict = type_role_dict
  
file_path: DeepKE/example/llm/InstructKGC/kg2instruction/utils.py
imports: import random
  import json
  import hashlib
label_desc: Use image node_id 1 to create a new FullSampler object  with example: obj = FullSampler(type_list, role_list, type_role_dict)