class_docstr: Metric to keep track of slot F1.
  
  Keeps track of slot precision and slot recall as running metrics.
class_docstr_tok: ["Metric","to","keep","track","of","slot","F1",".","Keeps","track","of","slot","precision","and","slot","recall","as","running","metrics","."]
docstr: Indicates whether this metric should be macro-averaged when globally reported.
docstr_tok: ["Indicates","whether","this","metric","should","be","macro-averaged","when","globally","reported","."]
code: def macro_average(self) -> bool:
      """
      Indicates whether this metric should be macro-averaged when globally reported.
      """
      return True
  
file_path: ParlAI/parlai/core/tod/teacher_metrics.py
imports: from typing import Optional, List, Dict, Any
  from parlai.core.metrics import AverageMetric, BleuMetric, F1Metric, Metric, Metrics
label_desc: Use image node_id 1 for calling the SlotF1Metric obj's underlying member method code with example usage: obj.macro_average() and returns: True