code: def test_search_records_with_invalid_query(
      mock_httpx_client: httpx.Client,
  ):
      dataset_id = uuid4()
  
      with pytest.raises(
          ValueError,
          match="Either 'record_id' or 'value' must be provided",
      ):
          vector_query = FeedbackRecordsSearchVectorQuery(
              name="vector_name",
              value=[1.0, 2.0, 3.0],
              record_id=uuid4(),
          )
          api.search_records(
              client=mock_httpx_client,
              id=dataset_id,
              vector_query=vector_query,
          )
  
file_path: argilla/tests/unit/client/sdk/v1/test_datasets.py
imports: from datetime import datetime
  from uuid import UUID, uuid4
  import httpx
  import pytest
  from argilla.client.sdk.v1.datasets import api
  from argilla.client.sdk.v1.datasets.models import FeedbackItemModel, FeedbackRecordSearchModel, FeedbackRecordsSearchModel, FeedbackRecordsSearchVectorQuery
label_desc: Use image node_id 3 for calling a global function with example usage: test_search_records_with_invalid_query(mock_httpx_client) without return types