get_msg_title_repr#

langchain_core.messages.base.get_msg_title_repr(title: str, *, bold: bool = False) str[source]#

Get a title representation for a message.

Parameters:
  • title (str) – The title.

  • bold (bool) – Whether to bold the title. Default is False.

Returns:

The title representation.

Return type:

str