code: def stable_hash(input_str):
      sha256 = hashlib.sha256()
      sha256.update(input_str.encode("utf-8"))
      return sha256.hexdigest()
  
file_path: DeepKE/example/llm/InstructKGC/kg2instruction/utils.py
imports: import random
  import json
  import hashlib
label_desc: Use image node_id 1 for calling a global function with example usage: stable_hash(input_str) and returns: sha256