def test_add_document_with_tensor_fields(self):
        """Ensure tensor_fields only works for title but not desc"""
        docs_ = [{"_id": "789", "title": "Story of Alice Appleseed", "desc": "Alice grew up in Houston, Texas."}]
        self.add_documents(config=self.config, add_docs_params=AddDocsParams(
            index_name=self.default_text_index, docs=docs_, device="cpu", tensor_fields=["title"]
        ))
        resp = tensor_search.get_document_by_id(config=self.config,
                                                index_name=self.default_text_index, document_id="789",
                                                show_vectors=True)

        assert len(resp[enums.TensorField.tensor_facets]) == 1
        assert enums.TensorField.embedding in resp[enums.TensorField.tensor_facets][0]
        assert "title" in resp[enums.TensorField.tensor_facets][0]
        assert "desc" not in resp[enums.TensorField.tensor_facets][0]
Ensure tensor_fields only works for title but not desc
tests/integ_tests/tensor_search/integ_tests/test_add_documents_unstructured.py