code: def test_log_data_with_vectors_and_update_ok(api: Argilla):
      dataset = "test_log_data_with_vectors_and_update_ok"
      text = "This is a text"
      delete_ignoring_errors(dataset)
  
      records = [
          argilla.TokenClassificationRecord(
              id=i,
              text=text,
              tokens=text.split(),
              vectors={"test-vector": [i] * 5},
          )
          for i in range(1, 10)
      ]
  
      api.log(
          records=records,
          name=dataset,
      )
      ds = api.load(
          dataset,
          vector=(
              "test-vector",
              [
                  3,
                  3,
                  2,
                  3,
                  3,
              ],  # the first expected records should be the id=3
          ),
          limit=5,
      )
  
      assert len(ds) == 5
      assert ds[0].id == 3
  
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 6 for calling a global function with example usage: test_log_data_with_vectors_and_update_ok(api) without return types