code: def _validate_record_vectors(
      record: FeedbackRecord, vectors_settings_by_name
  ) -> None:
      for vector_name, vector_value in record.vectors.items():
          if not vectors_settings_by_name.get(vector_name):
              raise ValueError(
                  f"Vector with name `{vector_name}` not present on dataset vector settings."
              )
  
          if vectors_settings_by_name[vector_name].dimensions != (
              record_vector_dimension := len(vector_value)
          ):
              raise ValueError(
                  f"Vector with name `{vector_name}` has an invalid expected dimension. {record_vector_dimension}"
              )
  
          if not (
              isinstance(vector_value, list)
              and all(isinstance(v, float) for v in vector_value)
          ):
              raise ValueError(
                  f"Vector with name `{vector_name}` has an invalid type. "
                  f"Expected `list[float]`, got `{type(vector_value)}`."
              )
  
imports: import typing
  from typing import Any, Dict, List, Optional, Type, Union
  import httpx
  from argilla.client.feedback.constants import FIELD_TYPE_TO_PYTHON_TYPE
  from argilla.client.feedback.dataset.base import FeedbackDatasetBase
  from argilla.client.feedback.schemas import FeedbackRecord
  from argilla.client.feedback.schemas.enums import MetadataPropertyTypes
  from argilla.client.feedback.schemas.types import AllowedFieldTypes, AllowedMetadataPropertyTypes, AllowedQuestionTypes
  from argilla.client.sdk.v1.datasets import api
  from argilla.client.sdk.v1.datasets.models import FeedbackDatasetModel
  from argilla.client.singleton import active_client
  from argilla.client.workspaces import Workspace
  from argilla.pydantic_v1 import BaseModel, Extra, ValidationError, create_model
label_desc: Use image node_id 13 for calling a global function with example usage: _validate_record_vectors(record, vectors_settings_by_name) without return types