factor_agent.prompts.Templates#

class Templates(texts)[source]#

Bases: object

The templates of a campaign: the built-in ones, any of them replaced from a file.

Methods#

Templates.format

Template name filled with values; values it does not name are ignored.

Templates.load

The built-in templates with those of replaced (template name to file) read from their files.