class_docstr: base class to work with chatbot memory
class_docstr_tok: ["base","class","to","work","with","chatbot","memory"]
code: def _add_to_history(self, chat_id, chat_message):
      raise NotImplementedError
  
imports: from mindsdb_sql.parser.ast import Identifier, Select, BinaryOperation, Constant, OrderBy
  from mindsdb.interfaces.storage import db
  from .types import ChatBotMessage
label_desc: Use image node_id 9 for calling the BaseMemory obj's underlying member method code with example usage: obj._add_to_history(chat_id, chat_message) without return types