class_docstr: Base class for prompts supposed to read template content from a file.
  
  `_path_to_template` attribute has to be specified.
code: def __init__(self, **kwargs):
      if (
          template_path := kwargs.pop("path_to_template", None)
      ) is not None:
          self._path_to_template = template_path
      else:
          current_dir_path = Path(__file__).parent
          self._path_to_template = os.path.join(
              current_dir_path, "..", self._path_to_template
          )
  
      self.conversation_text = self.template
      super().__init__(**kwargs)
  
file_path: pandas-ai/pandasai/prompts/file_based_prompt.py
imports: import os
  from pathlib import Path
  from ..exceptions import TemplateFileNotFoundError
  from .base import AbstractPrompt
label_desc: Use image node_id 1 to create a new FileBasedPrompt object from inherited base classes: AbstractPrompt with example: obj = FileBasedPrompt()