def test_get_document_with_custom_vector_field(self):
        """
        Add a document with a custom vector field:
        Get the doc, both fetched content and embedding must be correct
        """
        for index in self.indexes:
            with self.subTest(f"Index: {index.name}, type: {index.type}"):
                res = self.add_documents(
                    config=self.config, add_docs_params=AddDocsParams(
                        index_name=index.name,
                        docs=[{
                            "_id": "0",
                            "my_custom_vector": {
                                "content": "custom content is here!!",
                                "vector": self.random_vector_1
                            }
                        }],
                        device="cpu",
                        mappings=self.mappings if isinstance(index, UnstructuredMarqoIndex) else None,
                        tensor_fields=["my_custom_vector"] if isinstance(index, UnstructuredMarqoIndex) else None
                    )
                )

                # Confirm get_document_by_id returns correct content
                res = tensor_search.get_document_by_id(
                    config=self.config, index_name=index.name,
                    document_id="0", show_vectors=True)

                # Check content is correct
                assert res["_id"] == "0"
                assert res["my_custom_vector"] == "custom content is here!!"

                # Check tensor facets and embedding are correct
                assert len(res[enums.TensorField.tensor_facets]) == 1
                assert res[enums.TensorField.tensor_facets][0]["my_custom_vector"] == "custom content is here!!"
                assert res[enums.TensorField.tensor_facets][0][enums.TensorField.embedding] == self.random_vector_1

        Add a document with a custom vector field:
        Get the doc, both fetched content and embedding must be correct
        
tests/integ_tests/tensor_search/integ_tests/test_custom_vector_field.py