def test_populate_chunks_and_embeddings_for_audio_video_field(self):
        """
        Test populating chunks and embeddings for audio video field.
        It always populates
        """

        test_cases = [
            # (is_top_level_field, is_sub_field, for_top_level_field)
            (True, False, True),  # top level field only, populated as top level field
            (False, True, False),  # subfield only, populated as subfield
            (True, True, True),  # both top level and subfield, populated as top level field
        ]

        for modality in [Modality.AUDIO, Modality.VIDEO]:
            for is_top_level_field, is_sub_field, for_top_level_field in test_cases:
                with self.subTest(modality=modality, is_top_level_field=is_top_level_field,
                                  is_sub_field=is_sub_field, for_top_level_field=for_top_level_field):
                    field = TensorField(
                        doc_id='id',
                        field_name='field_1',
                        field_content="some long text",
                        modality=modality,
                        is_top_level_tensor_field=is_top_level_field,
                        is_multimodal_subfield=is_sub_field
                    )

                    field.populate_chunks_and_embeddings(["chunk1", "chunk2"],
                                                         [[1.0, 2.0], [2.0, 3.0]],
                                                         for_top_level_field=for_top_level_field)

                    self.assertEqual(['chunk1', 'chunk2'], field.chunks)
                    self.assertEqual([[1.0, 2.0], [2.0, 3.0]], field.embeddings)
                    self.assertTrue(field.is_resolved)

        Test populating chunks and embeddings for audio video field.
        It always populates
        
tests/unit_tests/marqo/core/inference/test_tensor_field.py