code: def save_logs(experiment_name: str, experiment_path: str, logs: dict):
      """Save experiment logs
  
      Args:
          experiment_name: name of the experiment
          experiment_path: path containing experiment related files
          logs: dictionary with experiment charts
  
      Returns:
          Path to the zip file with experiment logs
      """
  
      cfg_path = os.path.join(experiment_path, "cfg.yaml")
      charts_path = f"{experiment_path}/charts_{experiment_name}.json"
      with open(charts_path, "w") as fp:
          json.dump(
              {
                  k: v
                  for k, v in logs.items()
                  if k in ["meta", "train", "validation"]
              },
              fp,
          )
  
      zip_path = get_logs_path(experiment_name, experiment_path)
      zf = zipfile.ZipFile(zip_path, "w")
      zf.write(charts_path, os.path.basename(charts_path))
      zf.write(cfg_path, f"cfg_{experiment_name}.yaml")
  
      try:
          zf.write(
              f"{experiment_path}/logs.log",
              f"logs_{experiment_name}.log",
          )
      except FileNotFoundError:
          logging.warning("Log file is not available yet.")
  
      zf.close()
  
      return zip_path
  
file_path: h2o-llmstudio/llm_studio/src/utils/export_utils.py
imports: import json
  import logging
  import os
  import zipfile
  from typing import Optional
  from llm_studio.src.utils.exceptions import LLMResourceException
  from llm_studio.src.utils.utils import add_file_to_zip
label_desc: Use image node_id 7 for calling a global function with example usage: save_logs(experiment_name, experiment_path, logs) and returns: zip_path