code: def test_search_keywords(api: Argilla):
      dataset = "test_search_keywords"
      from datasets import load_dataset
  
      dataset_ds = load_dataset(
          "argilla/gutenberg_spacy-ner",
          split="train",
          # This revision does not includes the vectors info, so tests will pass
          revision="fff5f572e4cc3127f196f46ba3f9914c6fd0d763",
      )
      dataset_rb = argilla.read_datasets(
          dataset_ds, task="TokenClassification"
      )
  
      delete_ignoring_errors(dataset)
      api.log(name=dataset, records=dataset_rb)
  
      df = api.load(dataset, query="lis*")
      df = df.to_pandas()
      assert not df.empty
      assert "search_keywords" in df.columns
      top_keywords = set(
          [
              keyword
              for keywords in df.search_keywords.value_counts(
                  sort=True, ascending=False
              )
              .index[:3]
              .tolist()
              for keyword in keywords
          ]
      )
      assert {"listened", "listen"} == top_keywords, top_keywords
  
file_path: argilla/tests/integration/test_log_for_token_classification.py
imports: import argilla
  import pytest
  from argilla import TokenClassificationRecord
  from argilla.client import api
  from argilla.client.client import Argilla
  from argilla.client.sdk.commons.errors import NotFoundApiError
  from argilla.client.singleton import ArgillaSingleton
  from argilla.metrics import __all__
  from argilla.metrics import entity_consistency
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 5 for calling a global function with example usage: test_search_keywords(api) without return types