def test_use_existing_tensors_no_id(self):
        """should insert if there's no ID
        """
        d1 = {
            "title 1": "content 1",
            "desc 2": "content 2. blah blah blah"
        }
        r1 = self.add_documents(
            config=self.config, add_docs_params=AddDocsParams(index_name=self.index_name_1, docs=[d1],
                                                              auto_refresh=True, use_existing_tensors=True,
                                                              device="cpu"))
        r2 = self.add_documents(
            config=self.config, add_docs_params=AddDocsParams(index_name=self.index_name_1, docs=[d1, d1],
                                                              auto_refresh=True, use_existing_tensors=True,
                                                              device="cpu"))

        for item in r1['items']:
            assert item['result'] == 'created'
        for item in r2['items']:
            assert item['result'] == 'created'
should insert if there's no ID
        
tests/integ_tests/tensor_search/test_add_documents_use_existing_tensors.py