mustache_template_vars#

langchain_core.prompts.string.mustache_template_vars(template: str) Set[str][source]#

Get the variables from a mustache template.

Parameters:

template (str) – The template string.

Returns:

The variables from the template.

Return type:

Set[str]