langchain_core.utils.input.get_color_mapping¶

langchain_core.utils.input.get_color_mapping(items: List[str], excluded_colors: Optional[List] = None) Dict[str, str][source]¶

Get mapping for items to a support color.

Parameters
  • items (List[str]) –

  • excluded_colors (Optional[List]) –

Return type

Dict[str, str]