class_docstr: Knowledge base controller handles all
  manages knowledge bases
class_docstr_tok: ["Knowledge","base","controller","handles","all","manages","knowledge","bases"]
docstr: Get a knowledge base from the database
  by name + project_id
docstr_tok: ["Get","a","knowledge","base","from","the","database","by","name","+","project_id"]
code: def get(self, name: str, project_id: str) -> db.KnowledgeBase:
      """
      Get a knowledge base from the database
      by name + project_id
      """
      kb = (
          db.session.query(db.KnowledgeBase)
          .filter_by(
              name=name,
              project_id=project_id,
          )
          .first()
      )
      return kb
  
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 6 for calling the KnowledgeBaseController obj's underlying member method code with example usage: obj.get(name, project_id) and returns: kb