code: def add_vector_settings(
      client: httpx.Client,
      id: UUID,
      name: str,
      title: str,
      dimensions: int,
  ) -> Response[
      Union[
          FeedbackVectorSettingsModel, ErrorMessage, HTTPValidationError
      ]
  ]:
      """Sends a POST request to `/api/v1/datasets/{id}/vectors-settings` endpoint to
      add a vector settings to the `FeedbackDataset`.
  
      Args:
          client: the authenticated Argilla client to be used to send the request to the API.
          id: the id of the dataset to add the vector settings to.
  
      Returns:
          A `Response` object containing a `parsed` attribute with the parsed response if
          the request was successful, which is a `FeedbackVectorSettingsModel`.
      """
      url = f"/api/v1/datasets/{id}/vectors-settings"
  
      body = {
          "name": name,
          "title": title,
          "dimensions": dimensions,
      }
  
      response = client.post(url=url, json=body)
      if response.status_code == 201:
          response_obj = Response.from_httpx_response(response)
          response_obj.parsed = FeedbackVectorSettingsModel(
              **response.json()
          )
          return response_obj
  
      # TODO: better handle error for v1 API endpoints
      return handle_response_error(response)
  
imports: import warnings
  from typing import Any, Dict, List, Optional, Union
  from uuid import UUID
  import httpx
  from argilla.client.sdk.commons.errors_handler import handle_response_error
  from argilla.client.sdk.commons.models import ErrorMessage, HTTPValidationError, Response
  from argilla.client.sdk.v1.datasets.models import FeedbackDatasetModel, FeedbackFieldModel, FeedbackListVectorSettingsModel, FeedbackMetadataPropertyModel, FeedbackMetricsModel, FeedbackQuestionModel, FeedbackRecordsModel, FeedbackRecordsSearchModel, FeedbackRecordsSearchVectorQuery, FeedbackResponseStatusFilter, FeedbackVectorSettingsModel
label_desc: Use image node_id 18 for calling a global function with example usage: add_vector_settings(client, id, name, title, dimensions) and returns: handle_response_error, response_obj