class_docstr: Knowledge base table interface
  Handlers requests to KB table and modifies data in linked vector db table
class_docstr_tok: ["Knowledge","base","table","interface","Handlers","requests","to","KB","table","and","modifies","data","in","linked","vector","db","table"]
docstr: helper to get vector db handler
docstr_tok: ["helper","to","get","vector","db","handler"]
code: def _get_vector_db(self):
      """
      helper to get vector db handler
      """
      if self._vector_db is None:
          database_name = db.Integration.query.get(
              self._kb.vector_database_id
          ).name
          self._vector_db = (
              self.session.integration_controller.get_handler(
                  database_name
              )
          )
      return self._vector_db
  
imports: import copy
  from typing import List
  import pandas
  import mindsdb_sql.planner.utils
  from mindsdb_sql.parser.ast import BinaryOperation, Constant, Identifier, Select, Update, Delete, Star
  from mindsdb_sql.parser.dialects.mindsdb import CreatePredictor
  import mindsdb.interfaces.storage.db
  from mindsdb.integrations.libs.vectordatabase_handler import TableField
  from mindsdb.utilities.exception import EntityExistsError, EntityNotExistsError
label_desc: Use image node_id 8 for calling the KnowledgeBaseTable obj's underlying member method code with example usage: obj._get_vector_db() and returns: self