def _get_frame(funcall: str, funcall_format: str) -> str:
  """Returns the frame (intent and slot labels) of the function call."""
  if funcall_format == "top":
    return top_utils.get_frame_top(funcall)
  else:
    raise ValueError(f"Unknown funcall_format: {funcall_format}")
Returns the frame (intent and slot labels) of the function call.
language/casper/augment/casper_converters.py