def _get_frame(funcall: str) -> str:
  """Returns the frame string describing all intent and slot labels."""
  if FLAGS.funcall_format == "top":
    return top_utils.get_frame_top(funcall)
  else:
    raise ValueError(f"Unknown funcall_format: {FLAGS.funcall_format}")
Returns the frame string describing all intent and slot labels.
language/casper/evaluate/evaluate_retrieval.py