docstr: Deletes the given vector settings from the dataset.
  
  Args:
      vectors_settings: the name/s of the vector settings to delete.
  
  Returns:
      The vector settings that were deleted.
  
  Raises:
      ValueError: if the provided `vectors_settings` is/are not in the dataset.
docstr_tok: ["Deletes","the","given","vector","settings","from","the","dataset",".","Args",":","vectors_settings",":","the","name\/s","of","the","vector","settings","to","delete",".","Returns",":","The","vector","settings","that","were","deleted",".","Raises",":","ValueError",":","if","the","provided","`","vectors_settings","`","is\/are","not","in","the","dataset","."]
code: def delete_vectors_settings(
      self, vectors_settings: Union[str, List[str]]
  ) -> Union[VectorSettings, List[VectorSettings]]:
      """Deletes the given vector settings from the dataset.
  
      Args:
          vectors_settings: the name/s of the vector settings to delete.
  
      Returns:
          The vector settings that were deleted.
  
      Raises:
          ValueError: if the provided `vectors_settings` is/are not in the dataset.
      """
      if isinstance(vectors_settings, str):
          vectors_settings = [vectors_settings]
  
      if not self.vectors_settings:
          raise ValueError(
              "The current `FeedbackDataset` does not contain any `vectors_settings` defined, so"
              " none can be deleted."
          )
  
      if not all(
          vector_setting in self._vectors_settings.keys()
          for vector_setting in vectors_settings
      ):
          raise ValueError(
              f"Invalid `vectors_settings={vectors_settings}` provided. It cannot be"
              " deleted because it does not exist, make sure you delete just existing `vectors_settings`"
              " meaning that the name matches any of the existing `vectors_settings` if any. Current"
              f" `vectors_settings` are: '{', '.join(self._vectors_settings.keys())}'."
          )
  
      deleted_vectors_settings = []
      for vector_setting in vectors_settings:
          deleted_vectors_settings.append(
              self._vectors_settings.pop(vector_setting)
          )
      return (
          deleted_vectors_settings
          if len(deleted_vectors_settings) > 1
          else deleted_vectors_settings[0]
      )
  
imports: import logging
  import textwrap
  import warnings
  from typing import TYPE_CHECKING, Any, Dict, Iterator, List, Optional, Tuple, Union
  from argilla.client.feedback.constants import FETCHING_BATCH_SIZE
  from argilla.client.feedback.dataset import helpers
  from argilla.client.feedback.dataset.base import FeedbackDatasetBase, R
  from argilla.client.feedback.dataset.local.mixins import ArgillaMixin, TaskTemplateMixin
  from argilla.client.feedback.dataset.mixins import MetricsMixin, UnificationMixin
  from argilla.client.feedback.integrations.huggingface.dataset import HuggingFaceDatasetMixin
  from argilla.client.feedback.schemas.enums import RecordSortField, SortOrder
  from argilla.client.feedback.schemas.records import FeedbackRecord
  from argilla.client.feedback.schemas.vector_settings import VectorSettings
  from argilla.client.feedback.training.schemas.base import TrainingTaskForChatCompletion, TrainingTaskForDPO, TrainingTaskForPPO, TrainingTaskForQuestionAnswering, TrainingTaskForRM, TrainingTaskForSentenceSimilarity, TrainingTaskForSFT, TrainingTaskForTextClassification, TrainingTaskTypes
  from argilla.client.models import Framework
label_desc: Use image node_id 17 for calling the FeedbackDataset obj's underlying member method code with example usage: obj.delete_vectors_settings(vectors_settings) and returns: unknown