mustache_schema#
- langchain_core.prompts.string.mustache_schema(template: str) type[BaseModel] [source]#
Get the variables from a mustache template.
- Parameters:
template (str) – The template string.
- Returns:
The variables from the template as a Pydantic model.
- Return type:
type[BaseModel]