class_docstr: Base class for alpaca prompters
class_docstr_tok: ["Base","class","for","alpaca","prompters"]
code: def build_prompt(
      self,
      instruction: str,
      input: Union[
          None, str
      ] = None,  # pylint: disable=redefined-builtin
      output: Union[None, str] = None,
  ) -> Generator[str, None, None]:
      yield self._build_result(instruction, input, output)
  
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 4 for calling the AlpacaPrompter obj's underlying member method code with example usage: obj.build_prompt(instruction, input, output) without return types