class_docstr: PromptBuilder is a component that renders a prompt from a template string using Jinja2 engine.
  The template variables found in the template string are used as input types for the component and are all required.
  
  Usage:
  ```python
  template = "Translate the following context to {{ target_language }}. Context: {{ snippet }}; Translation:"
  builder = PromptBuilder(template=template)
  builder.run(target_language="spanish", snippet="I can't speak spanish.")
  ```
code: def to_dict(self) -> Dict[str, Any]:
      return default_to_dict(self, template=self._template_string)
  
imports: from typing import Dict, Any
  from jinja2 import Template, meta
  from haystack import component
  from haystack import default_to_dict
label_desc: Use image node_id 2 for calling the PromptBuilder obj's underlying member method code with example usage: obj.to_dict() and returns: default_to_dict