class_docstr: interface to work with individual chat
class_docstr_tok: ["interface","to","work","with","individual","chat"]
code: def get_history(self, cached=True):
      result = self.memory.get_chat_history(
          self.chat_id, cached=cached and self.cached
      )
      self.cached = True
      return result
  
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 2 for calling the ChatMemory obj's underlying member method code with example usage: obj.get_history(cached) and returns: result