def test_batched_vectorise_call_infer_image_is_false(self):
        """
        Test to ensure that it's possible for image URLs to be treated as plain text. This is done differently depending
        on the index type.
        If structured: Each image field is declared as text in the initial index creation.
        If unstructured: treat_urls_and_pointers_as_images for the index is simply set to False.

        Check setUpClass for the index creation
        """
        for index in [self.unstructured_random_text_index, self.structured_random_text_index]:
            with self.subTest(f"Index type: {index.type}. Index name: {index.name}"):
                def pass_through_vectorise(*arg, **kwargs):
                    """Vectorise will behave as usual, but we will be able to see the call list
                    via mock
                    """
                    return vectorise(*arg, **kwargs)

                mock_vectorise = mock.MagicMock()
                mock_vectorise.side_effect = pass_through_vectorise

                @mock.patch("marqo.s2_inference.s2_inference.vectorise", mock_vectorise)
                def run():
                    res = self.add_documents(config=self.config, add_docs_params=AddDocsParams(
                        index_name=index.name, docs=[
                            {
                                "text_field_1": "A rider is riding a horse jumping over the barrier_1.",
                                "text_field_2": "A rider is riding a horse jumping over the barrier_2.",
                                "text_field_3": "A rider is riding a horse jumping over the barrier_3.",
                                "text_field_4": "A rider is riding a horse jumping over the barrier_4.",
                                "image_field_1": TestImageUrls.IMAGE1.value,
                                "image_field_2": TestImageUrls.IMAGE2.value,
                                "image_field_3": TestImageUrls.IMAGE3.value,
                                "image_field_4": TestImageUrls.IMAGE4.value,
                                "_id": "111",
                            }],
                        mappings={
                            "multi_combo_text_image": {"type": "multimodal_combination", "weights": {
                                "text_field_1": 0.1, "text_field_2": 0.1, "text_field_3": 0.1, "text_field_4": 0.1,
                                "image_field_1": 0.1, "image_field_2": 0.1, "image_field_3": 0.1, "image_field_4": 0.1,
                            }}} if isinstance(index, UnstructuredMarqoIndex) else None,
                        device="cpu",
                        tensor_fields=["multi_combo_text_image"] if isinstance(index, UnstructuredMarqoIndex) else None
                    ))
                    # Ensure the doc is added
                    assert tensor_search.get_document_by_id(config=self.config, index_name=index.name,
                                                            document_id="111")
                    # Ensure that vectorise is only called once
                    self.assertEqual(1, len(mock_vectorise.call_args_list))

                    text_content = [f"A rider is riding a horse jumping over the barrier_{i}." for i in range(1, 5)]
                    text_content = text_content + [
                        TestImageUrls.IMAGE1.value,
                        TestImageUrls.IMAGE2.value,
                        TestImageUrls.IMAGE3.value,
                        TestImageUrls.IMAGE4.value,
                    ]

                    real_text_content = [call_kwargs['content'] for call_args, call_kwargs
                                         in mock_vectorise.call_args_list][0]

                    # Ensure the text vectorise is expected
                    self.assertEqual(real_text_content, text_content)
                    return True

                assert run()

        Test to ensure that it's possible for image URLs to be treated as plain text. This is done differently depending
        on the index type.
        If structured: Each image field is declared as text in the initial index creation.
        If unstructured: treat_urls_and_pointers_as_images for the index is simply set to False.

        Check setUpClass for the index creation
        
tests/integ_tests/tensor_search/test_multimodal_tensor_combination.py