class_docstr: Helper container for generation version of standard metrics (F1, BLEU, ..).
class_docstr_tok: ["Helper","container","for","generation","version","of","standard","metrics","(","F1",",","BLEU",",","..",")","."]
code: def add_with_prefixes(self, name, value):
      self.add(name, value)
      for prefix in self.prefixes:
          self.add(f"{prefix}/{name}", value)
  
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 2 for calling the NlgMetrics obj's underlying member method code with example usage: obj.add_with_prefixes(name, value) without return types