def test_default_settings(self):
        """default fields should be returned if index is created with default settings
        """

        with self.subTest("Unstructured index default settings"):
            expected_unstructured_default_settings = \
                {
                    'annParameters': {
                        'parameters': {'efConstruction': 512, 'm': 16},
                        'spaceType': DistanceMetric.PrenormalizedAngular
                    },
                    'filterStringMaxLength': 50,
                    'imagePreprocessing': {},
                    'model': 'hf/e5-base-v2',
                    'normalizeEmbeddings': True,
                    'textPreprocessing': {'splitLength': 2,
                                        'splitMethod': TextSplitMethod.Sentence,
                                        'splitOverlap': 0},
                    'audioPreprocessing': {'splitLength': 10, 'splitOverlap': 3},
                    'videoPreprocessing': {'splitLength': 20, 'splitOverlap': 3},
                    'treatUrlsAndPointersAsImages': False,
                    'treatUrlsAndPointersAsMedia': False,
                    'type': IndexType.Unstructured,
                    'vectorNumericType': VectorNumericType.Float
                }
            # Get unstructured default settings
            self.maxDiff = None
            retrieved_index = self.config.index_management.get_index(self.unstructured_default_index.name)
            retrieved_settings = IndexSettings.from_marqo_index(retrieved_index).dict(exclude_none=True, by_alias=True)
            self.assertEqual(retrieved_settings, expected_unstructured_default_settings)
        
        with self.subTest("Structured index default settings"):
            expected_structured_default_settings = \
                {
                    'allFields': [
                        {
                            'features': [],
                            'name': 'field1',
                            'type': FieldType.Text
                        },
                        {
                            'features': [],
                            'name': 'field2',
                            'type': FieldType.Text
                        }
                    ],
                    'annParameters': {
                        'parameters': {'efConstruction': 512, 'm': 16},
                        'spaceType': DistanceMetric.PrenormalizedAngular
                    },
                    'imagePreprocessing': {},
                    'model': 'hf/e5-base-v2',
                    'normalizeEmbeddings': True,
                    'tensorFields': [],
                    'textPreprocessing': {
                        'splitLength': 2,
                        'splitMethod': TextSplitMethod.Sentence,
                        'splitOverlap': 0
                    },
                    'audioPreprocessing': {'splitLength': 10, 'splitOverlap': 3},
                    'videoPreprocessing': {'splitLength': 20, 'splitOverlap': 3},
                    'type': IndexType.Structured,
                    'vectorNumericType': VectorNumericType.Float
                }
            # Get unstructured default settings
            retrieved_index = self.config.index_management.get_index(self.structured_default_index.name)
            retrieved_settings = IndexSettings.from_marqo_index(retrieved_index).dict(exclude_none=True, by_alias=True)
            self.assertEqual(retrieved_settings, expected_structured_default_settings)
default fields should be returned if index is created with default settings
        
tests/integ_tests/core/index_management/test_get_settings.py