MustacheRenderer#

class langchain_prompty.renderers.MustacheRenderer(prompty: Prompty)[source]#

Render a mustache template.

Methods

__init__(prompty)

invoke(data)

Parameters:

prompty (Prompty) –

__init__(prompty: Prompty) None[source]#
Parameters:

prompty (Prompty) –

Return type:

None

invoke(data: BaseModel) BaseModel[source]#
Parameters:

data (BaseModel) –

Return type:

BaseModel