def test_unstructured_map_numerical_as_custom_vector(self):
        """
        Test that the wrong map numerical format errors out
        """
        for index in [self.unstructured_default_text_index]:
            with self.subTest(index=index.type):
                # Add documents
                with self.assertRaises(ValidationError):
                    res = self.add_documents(
                        config=self.config,
                        add_docs_params=AddDocsParams(
                            index_name=index.name,
                            docs=[
                                {"_id": "7", "text2": "hello", "my_int": 2, "my_custom_audio_vector_1": {"vector": 24}},
                            ],
                            tensor_fields=["text_field", "my_custom_audio_vector_1"],
                            mappings={
                                "my_custom_audio_vector_1": {"type": "custom_vector"},
                            },
                        )
                    )

        Test that the wrong map numerical format errors out
        
tests/integ_tests/tensor_search/integ_tests/test_dict_score_modifiers.py