def test_supported_audio_format(self):
        """Test the supported audio format for the LanguageBind model in add_documents and search."""

        test_cases = [
            (TestAudioUrls.MP3_AUDIO1.value, "mp3"),
            (TestAudioUrls.ACC_AUDIO1.value, "aac"),
            (TestAudioUrls.OGG_AUDIO1.value, "ogg"),
            (TestAudioUrls.FLAC_AUDIO1.value, "flac")
        ]

        for test_case, audio_format in test_cases:
            for index in [self.structured_language_bind_index_name, self.unstructured_language_bind_index_name]:
                with self.subTest(f"{index} - {audio_format}"):
                    self.clear_index_by_schema_name(
                        schema_name=self.index_management.get_index(index_name=index).schema_name)
                    self.assertEqual(0, self.monitoring.get_index_stats_by_name(index_name=index).number_of_documents)
                    document = {
                        "audio_field_1": test_case,
                        "_id": "1"
                    }

                    res = self.add_documents(
                        self.config,
                        add_docs_params=AddDocsParams(
                            index_name=index,
                            docs=[document],
                            tensor_fields=[
                                "audio_field_1"] if index == self.unstructured_language_bind_index_name else None
                        )
                    )
                    self.assertFalse(res.errors, msg=res.dict())
                    self.assertEqual(1, self.monitoring.get_index_stats_by_name(index_name=index).number_of_documents)
                    self.assertGreaterEqual(self.monitoring.get_index_stats_by_name(index_name=index).number_of_vectors,
                                            1)
                    if test_case not in [TestAudioUrls.ACC_AUDIO1.value,]:
                    # .acc is not support
                        _ = tensor_search.search(
                            config=self.config,
                            index_name=index,
                            text=test_case,
                            search_method = "TENSOR"
                        )
Test the supported audio format for the LanguageBind model in add_documents and search.
tests/integ_tests/tensor_search/integ_tests/test_add_documents_combined.py