code: def convert_test(options):
      reader = open(options.input_path, "r", encoding="utf-8")
      writer = open(options.output_path, "w", encoding="utf-8")
  
      for line in reader:
          data = json.loads(line.strip())
          data["kg"] = rte_post_process(data["output"])
          writer.write(json.dumps(data, ensure_ascii=False) + "\n")
  
file_path: DeepKE/example/llm/LLMICL/ccks2023_convert.py
imports: import re
  import json
  import random
  import argparse
label_desc: Use image node_id 4 for calling a global function with example usage: convert_test(options) without return types