def get_converter(converter_name: str, retrieval_index: Iterable[RawExample],
                  funcall_format: str, converter_kwargs: Dict[str, Any],
                  formatter_kwargs: Dict[str, Any]) -> BaseExampleConverter:
  """Returns an example converter with the specified name.

  Args:
    converter_name: Name of the converter.
    retrieval_index: An iterable of dicts, where each dict contains information
      about an entry in the retrieval index.
    funcall_format: Format of the output function call or logical form.
    converter_kwargs: Keyword arguments for the converter's initializer. Some
      keywords have shorthands as defined in _CONVERTER_CONFIG_ALIASES.
    formatter_kwargs: Keyword arguments for the converter's initializer. Some
      keywords have shorthands as defined in _FORMATTER_CONFIG_ALIASES.

  Returns:
    A subclass of BaseExampleConverter.
  """
  converter = _CONVERTERS[converter_name]
  converter_config = ConverterConfig.from_dict(converter_kwargs)
  formatter_config = casper_formatters.FormatterConfig.from_dict(
      formatter_kwargs)
  return converter(retrieval_index, funcall_format, converter_config,
                   formatter_config)
Returns an example converter with the specified name.

  Args:
    converter_name: Name of the converter.
    retrieval_index: An iterable of dicts, where each dict contains information
      about an entry in the retrieval index.
    funcall_format: Format of the output function call or logical form.
    converter_kwargs: Keyword arguments for the converter's initializer. Some
      keywords have shorthands as defined in _CONVERTER_CONFIG_ALIASES.
    formatter_kwargs: Keyword arguments for the converter's initializer. Some
      keywords have shorthands as defined in _FORMATTER_CONFIG_ALIASES.

  Returns:
    A subclass of BaseExampleConverter.
  
language/casper/augment/casper_converters.py