def test_recommender_documentsWithoutEmbeddings(self):
        """
        Test recommend with documents that do not have embeddings
        """
        docs = [
            {
                "_id": "1",
                "title": "Red orchid",
                "tags": ["flower", "orchid"],
            },
            {
                "_id": "2",
                "title": "Red rose",
                "tags": ["flower"],
                "content": "test"
            },
            {
                "_id": "3",
                "title": "Europe",
                "tags": ["continent"],
            },
        ]

        for index_name in [self.structured_index_name, self.unstructured_index_name]:
            with self.subTest(index_name):
                tensor_fields = ["content"] if index_name == self.unstructured_index_name else None
                add_docs_results = self.client.index(index_name).add_documents(docs, tensor_fields=tensor_fields)

                if add_docs_results["errors"]:
                    raise Exception(f"Failed to add documents to index {index_name}")

                with self.assertRaises(MarqoWebError) as e:
                    self.client.index(index_name).recommend(
                        documents=['1', '2', '3'], tensor_fields=["content"]
                    )
                self.assertIn("1, 3", str(e.exception))

        Test recommend with documents that do not have embeddings
        
tests/api_tests/v1/tests/api_tests/test_recommend.py