code: def test_pdf_similarity_search(self):
      conn = connect()
      cursor = conn.cursor()
      pdf_path = (
          f"{EvaDB_ROOT_DIR}/data/documents/state_of_the_union.pdf"
      )
  
      load_pdf = cursor.load(
          file_regex=pdf_path, format="PDF", table_name="PDFs"
      )
      load_pdf.execute()
  
      function_check = cursor.drop_function("SentenceFeatureExtractor")
      function_check.df()
      function = cursor.create_function(
          "SentenceFeatureExtractor",
          True,
          f"{EvaDB_ROOT_DIR}/evadb/functions/sentence_feature_extractor.py",
      )
      function.execute()
  
      cursor.create_vector_index(
          "faiss_index",
          table_name="PDFs",
          expr="SentenceFeatureExtractor(data)",
          using="FAISS",
      ).df()
  
      query = (
          cursor.table("PDFs")
          .order(
              """Similarity(
                      SentenceFeatureExtractor('When was the NATO created?'), SentenceFeatureExtractor(data)
                  ) DESC"""
          )
          .limit(3)
          .select("data")
      )
      output = query.df()
      self.assertEqual(len(output), 3)
      self.assertTrue("data" in output.columns)
  
      # Without dropping alias
      output = query.df(drop_alias=False)
      self.assertTrue("pdfs.data" in output.columns)
  
      cursor.drop_index("faiss_index").df()
  
imports: import unittest
  from test.markers import qdrant_skip_marker
  from test.util import DummyObjectDetector, create_sample_video, load_functions_for_testing, shutdown_ray, suffix_pytest_xdist_worker_id_to_dir
  import numpy
  import pandas
  from pandas.testing import assert_frame_equal
  from evadb.binder.binder_utils import BinderError
  from evadb.configuration.constants import DEFAULT_DOCUMENT_CHUNK_OVERLAP, DEFAULT_DOCUMENT_CHUNK_SIZE, EvaDB_DATABASE_DIR, EvaDB_ROOT_DIR
  from evadb.executor.executor_utils import ExecutorError
  from evadb.interfaces.relational.db import connect
  from evadb.models.storage.batch import Batch
  from evadb.server.command_handler import execute_query_fetch_all
label_desc: Use image node_id 11 for calling the RelationalAPI obj's underlying member method code with example usage: obj.test_pdf_similarity_search() without return types