class_docstr: Key-value store for storing information during a conversation.
class_docstr_tok: ["Key-value","store","for","storing","information","during","a","conversation","."]
code: def _as_feature(self) -> List[float]:
      raise NotImplementedError(
          "Each slot type needs to specify how its "
          "value can be converted to a feature. Slot "
          "'{}' is a generic slot that can not be used "
          "for predictions. Make sure you add this "
          "slot to your domain definition, specifying "
          "the type of the slot. If you implemented "
          "a custom slot type class, make sure to "
          "implement `.as_feature()`."
          "".format(self.name)
      )
  
imports: import logging
  from abc import ABC, abstractmethod
  from typing import Any, Dict, List, Optional, Text, Type
  import rasa.shared.core.constants
  from rasa.shared.exceptions import RasaException
  import rasa.shared.utils.common
  import rasa.shared.utils.io
  from rasa.shared.constants import DOCS_URL_SLOTS
label_desc: Use image node_id 8 for calling the Slot obj's underlying member method code with example usage: obj._as_feature() without return types