code: def test_similarity_search_in_python_client(api: Argilla):
      dataset = "test_similarity_search_in_python_client"
      text = "This is a text"
      vectors = {"my_bert": [1, 2, 3, 4]}
  
      delete_ignoring_errors(dataset)
      api.log(
          TextClassificationRecord(id=0, inputs=text, vectors=vectors),
          name=dataset,
      )
      ds = api.load(dataset, vector=("my_bert", [1, 1, 1, 1]))
      assert len(ds) == 1
  
      api.log(
          TextClassificationRecord(
              id=1, inputs=text, vectors={"my_bert_2": [1, 2, 3, 4]}
          ),
          name=dataset,
      )
      ds = api.load(dataset, vector=("my_bert_2", [1, 1, 1, 1]))
      assert len(ds) == 1
      with pytest.raises(
          BadRequestApiError,
          match="Cannot create more than 5 kind of vectors per dataset",
      ):
          api.log(
              TextClassificationRecord(
                  id=3,
                  inputs=text,
                  vectors={
                      "a": [1.0],
                      "b": [1.0],
                      "c": [1.0],
                      "d": [1.0],
                      "e": [1.0],
                  },
              ),
              name=dataset,
          )
  
imports: from typing import TYPE_CHECKING
  import argilla
  import pytest
  from argilla.client.api import load, log
  from argilla.client.client import Argilla
  from argilla.client.datasets import read_datasets
  from argilla.client.models import TextClassificationRecord, TokenClassificationRecord
  from argilla.client.sdk.commons.errors import BadRequestApiError, GenericApiError, ValidationApiError
  from argilla.client.singleton import init
  from argilla.server.settings import settings
  from tests.factories import WorkspaceFactory
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 3 for calling a global function with example usage: test_similarity_search_in_python_client(api) without return types