code: import logging
  import lancedb
  import os
  from pathlib import Path
  
  
  DB_TABLE_NAME = "split_files_db"
  
  # Setting up the logging
  logging.basicConfig(level=logging.INFO)
  logger = logging.getLogger(__name__)
  
  
  # db
  db_uri = os.path.join(Path(__file__).parents[1], ".lancedb")
  db = lancedb.connect(db_uri)
  table = db.open_table(DB_TABLE_NAME)
  
apis: lancedb.connect
extract_api: [((126, 165), 'logging.basicConfig', 'logging.basicConfig', ([], {'level': 'logging.INFO'}), '(level=logging.INFO)\n', (145, 165), False, 'import logging\n'), ((175, 202), 'logging.getLogger', 'logging.getLogger', (['__name__'], {}), '(__name__)\n', (192, 202), False, 'import logging\n'), ((276, 299), 'lancedb.connect', 'lancedb.connect', (['db_uri'], {}), '(db_uri)\n', (291, 299), False, 'import lancedb\n'), ((232, 246), 'pathlib.Path', 'Path', (['__file__'], {}), '(__file__)\n', (236, 246), False, 'from pathlib import Path\n')]