class_docstr: This handler handles connection and execution of the ChromaDB statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","ChromaDB","statements","."]
docstr: Validate the connection parameters.
docstr_tok: ["Validate","the","connection","parameters","."]
code: def validate_connection_parameters(self, name, **kwargs):
      """
      Validate the connection parameters.
      """
  
      _config = kwargs.get("connection_data")
      _config["vector_store"] = name
  
      config = ChromaHandlerConfig(**_config)
  
      if (
          config.persist_directory
          and not self.handler_storage.is_temporal
      ):
          # get full persistence directory from handler storage
          self.persist_directory = self.handler_storage.folder_get(
              config.persist_directory
          )
  
      return config
  
imports: import sys
  from collections import OrderedDict
  from typing import List, Optional
  import pandas
  from mindsdb.integrations.handlers.chromadb_handler.settings import ChromaHandlerConfig
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.response import RESPONSE_TYPE
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.integrations.libs.vectordatabase_handler import FilterCondition, FilterOperator, TableField, VectorStoreHandler
  from mindsdb.interfaces.storage.model_fs import HandlerStorage
  from mindsdb.utilities import log
label_desc: Use image node_id 2 for calling the ChromaDBHandler obj's underlying member method code with example usage: obj.validate_connection_parameters(name) and returns: config