code: def test_encode_single_field(
      st_extractor: SentenceTransformersExtractor,
      records: List[FeedbackRecord],
  ):
      records = st_extractor._encode_single_field(
          records=records, field="field_1", overwrite=False
      )
      assert records[0].vectors["field_1"] == np.array([1])
  
file_path: argilla/tests/unit/client/feedback/integrations/test_sentencetransformers.py
imports: from typing import List
  from unittest.mock import MagicMock
  import numpy
  import pytest
  from argilla.client.feedback.dataset.local.dataset import FeedbackDataset
  from argilla.client.feedback.integrations.sentencetransformers import SentenceTransformersExtractor
  from argilla.client.feedback.schemas.fields import TextField
  from argilla.client.feedback.schemas.questions import TextQuestion
  from argilla.client.feedback.schemas.records import FeedbackRecord
  from argilla.client.feedback.schemas.vector_settings import VectorSettings
  from sentence_transformers import SentenceTransformer
label_desc: Use image node_id 6 for calling a global function with example usage: test_encode_single_field(st_extractor, records) without return types