def test_use_existing_tensors_all_data_types(self):
        """
        Ensure no errors occur even with chunkless docs. (only int, only bool, etc)
        Replacing doc doesn't change the content
        """
        self.maxDiff = None

        doc_args = [
            # Each doc only has 1 type
            [{"_id": "1", "field1": "hello world"},
             {"_id": "2", "field2": True},
             {"_id": "3", "field3": 12345},
             {"_id": "4", "field4": [1, 2, 3]}],

            # Doc with all types
            [{"_id": "1", "field1": "hello world", "field2": True, "field3": 12345, "field4": [1, 2, 3]}],
        ]

        for doc_arg in doc_args:
            # Add doc normally without use_existing_tensors
            add_res = self.add_documents(
                config=self.config, add_docs_params=AddDocsParams(index_name=self.index_name_1,
                                                                  docs=doc_arg, auto_refresh=True, device="cpu"))

            d1 = tensor_search.get_documents_by_ids(
                config=self.config, index_name=self.index_name_1,
                document_ids=[doc["_id"] for doc in doc_arg], show_vectors=True)

            # Then replace doc with use_existing_tensors
            add_res = self.add_documents(
                config=self.config, add_docs_params=AddDocsParams(index_name=self.index_name_1,
                                                                  docs=doc_arg, auto_refresh=True,
                                                                  use_existing_tensors=True, device="cpu"))

            d2 = tensor_search.get_documents_by_ids(
                config=self.config, index_name=self.index_name_1,
                document_ids=[doc["_id"] for doc in doc_arg], show_vectors=True)

            self.assertEqual(d1, d2)

        Ensure no errors occur even with chunkless docs. (only int, only bool, etc)
        Replacing doc doesn't change the content
        
tests/integ_tests/tensor_search/test_add_documents_use_existing_tensors.py