def test_create_index_with_custom_model_properties(self):
        """index should get created with custom model_properties
        """
        model_name = 'test-model'
        model_properties = {"name": "sentence-transformers/all-mpnet-base-v2",
                            "dimensions": 768,
                            "tokens": 128,
                            "type": "sbert"}
        tensor_search.create_vector_index(
            index_name=self.index_name_1, config=self.config,
            index_settings={
                "index_defaults": {
                    'model': model_name,
                    'model_properties': model_properties
                }
            }
        )
index should get created with custom model_properties
        
tests/integ_tests/s2_inference/test_generic_model.py