class_docstr: base class to work with chatbot memory
class_docstr_tok: ["base","class","to","work","with","chatbot","memory"]
code: def __init__(self, chat_task, chat_params):
      # in memory yet
      self._modes = {}
      self._hide_history_before = {}
      self._cache = {}
      self.chat_params = chat_params
      self.chat_task = chat_task
  
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 1 to create a new BaseMemory object  with example: obj = BaseMemory(chat_task, chat_params)