grab_literal#

langchain_core.utils.mustache.grab_literal(template: str, l_del: str) Tuple[str, str][source]#

Parse a literal from the template.

Parameters:
  • template (str) – The template to parse.

  • l_del (str) – The left delimiter.

Returns:

The literal and the template.

Return type:

Tuple[str, str]