How to add custom parameters for transcribe audio in assistant?

I want to add a drop-down menu to the Transcribe Audio page to specify the language in the voice file. I can already add a drop-down menu to the page(modify /src/components/fields/MediaField.vue in assistant app).

<div v-if="value !== null"
        class="media-info">
	<div>Please select audio language:
		<select v-model="selectedLanguage" @change="onLanguageChange">
			<option value="zh">Chinese</option>
			<option value="en">English</option>
		</select>
	</div>
</div>

I have also found the location of the API(in integration_openal app), but I just don’t know how to pass the parameters of the specified language. Can someone tell me how to modify it?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.