本文介绍了已阻止:在Azure Logic应用中,如何为每种语言添加复选框组,以供用户选择字幕翻译选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我创建了一个逻辑应用程序,以在视频被编入索引后提取视频字幕(VTT)字幕文件.我希望用户能够选择他们希望字幕翻译的语言(例如英语,西班牙语,法语,葡萄牙语等).

是否可以为每种语言添加一组复选框供用户选择?我正在查看以下内容:

在邮递员中测试逻辑应用程序之后,例如:

I have created a logic app, to pull the Video Transcript(VTT) caption file, once the videos have been indexed. I want the user to have the ability to choose which language they would like the captions to be translated in ( For e.g English, Spanish, French, Portuguese etc).

Is there a way to add group of check boxes for each of the languages for the user to choose? I was looking at this :https://api-portal.videoindexer.ai/docs/services/Operations/operations/Get-Video-Index but it looks like the API supports only one language. In my case, I want to present the user with (check boxes) with at least 10 different languages they can choose from.

Question: How can we have this implemented for a user to choose from a checkbox of languages? Or can I accept a list of languages as my HTTP request and loop over them in my logic app?

Here is the current workflow of my logic app, where it allows only one language at the moment:

解决方案

The easiest way would be to pass the list languages through HTTP trigger body (it accepts JSON array). You can generate the request schema by pasting your sample request data (payload) through "Use sample payload to generate schema" link.

Then in the "For each" action you'll iterate through the languages and call the other actions.

After you can test your Logic App for example in Postman:

这篇关于已阻止:在Azure Logic应用中,如何为每种语言添加复选框组,以供用户选择字幕翻译选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 00:10