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]