class_docstr: A prompter that generates prompts for the ShareGPT
class_docstr_tok: ["A","prompter","that","generates","prompts","for","the","ShareGPT"]
code: def __init__(
      self,
      prompt_style=None,  # pylint: disable=unused-argument
      conversation: Optional[Union[str, Conversation]] = None,
      role_key_human: Optional[str] = None,
      role_key_model: Optional[str] = None,
  ):
      if conversation:
          if isinstance(conversation, Conversation):
              self._conversation = conversation
          else:
              self._conversation = get_conv_template(conversation)
      else:
          self._conversation = get_conv_template("vicuna_v1.1")
      if role_key_human:
          self.role_key_human = role_key_human
      if role_key_model:
          self.role_key_model = role_key_model
  
imports: import logging
  from enum import Enum
  from typing import Generator, Optional, Union
  from colorama import Fore
  from fastchat.conversation import Conversation, get_conv_template
label_desc: Use image node_id 1 to create a new ShareGPTPrompter object from inherited base classes: Prompter with example: obj = ShareGPTPrompter(prompt_style, conversation, role_key_human, role_key_model)