class_docstr: Different ways of formatting the components of a prompt into the format accepted by the relevant
  API server endpoint.
code: def from_string(cls, s: str) -> PromptFormat:
      for prompt_format in cls:
          if prompt_format.value == s:
              return prompt_format
      raise ValueError(f"{s} is not a valid PromptFormat")
  
file_path: automated-interpretability/neuron-explainer/neuron_explainer/explanations/prompt_builder.py
imports: from __future__ import annotations
  from enum import Enum
  from typing import TypedDict, Union
  import tiktoken
label_desc: Use image node_id 1 for calling the PromptFormat obj's underlying member method code with example usage: obj.from_string(cls, s) and returns: prompt_format