in aidial_assistant/application/prompts.py [0:0]
def build(self, **kwargs) -> Template:
template_args = self.template_class_args.get("globals", {}) | kwargs
return JINJA2_ENV.from_string(
self.template,
**(self.template_class_args | {"globals": template_args}),
)