code: def get_all_metrics(ground_truth: Dict, retrieved: Dict) -> Dict:
      """
      Get mean of all information retrieval metrics across all queries.
  
      Args:
          ground_truth: A dictionary representing ground truth with filenames as key and a list of duplicate filenames
          as value.
          retrieved: A dictionary representing retrieved duplicates with filenames as key and a list of retrieved
          duplicate filenames as value.
  
      Returns:
          Dictionary of all mean metrics.
      """
  
      all_average_metrics = {
          "map": mean_metric(ground_truth, retrieved, metric="map"),
          "ndcg": mean_metric(ground_truth, retrieved, metric="ndcg"),
          "jaccard": mean_metric(
              ground_truth, retrieved, metric="jaccard"
          ),
      }
      return all_average_metrics
  
imports: from typing import List, Dict
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: get_all_metrics(ground_truth, retrieved) and returns: all_average_metrics