class_docstr: Abstract class to be reimplemented to define types that can be returned by agents.
  
  These objects serve three purposes:
  
  - They behave as they were the type they're meant to be, e.g., a string for text, a PIL.Image for images
  - They can be stringified: str(object) in order to return a string defining the object
  - They should be displayed correctly in ipython notebooks/colab/jupyter
class_docstr_tok: ["Abstract","class","to","be","reimplemented","to","define","types","that","can","be","returned","by","agents",".","These","objects","serve","three","purposes",":","-","They","behave","as","they","were","the","type","they","'re","meant","to","be",",","e.g.",",","a","string","for","text",",","a","PIL.Image","for","images","-","They","can","be","stringified",":","str","(","object",")","in","order","to","return","a","string","defining","the","object","-","They","should","be","displayed","correctly","in","ipython","notebooks\/colab\/jupyter"]
code: def to_raw(self):
      logger.error(
          "This is a raw AgentType of unknown type. Display in notebooks and string conversion will be unreliable"
      )
      return self._value
  
imports: import os
  import pathlib
  import tempfile
  import uuid
  import numpy
  from ..utils import is_soundfile_availble, is_torch_available, is_vision_available, logging
label_desc: Use image node_id 3 for calling the AgentType obj's underlying member method code with example usage: obj.to_raw() and returns: self