检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
参数配置说明如表1所示。 图1 创建应用 表1 创建应用 参数 说明 第三方应用 从下拉框中选择“奇妙问”。 应用名称 设置当前智能交互数字人应用的名称。 账号 注册奇妙问的账号,即用户的手机号。 APPSECRET 用户在奇妙问创建角色的AppSecret。 RoleId 用户在奇妙问创建角色的RoleId。
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
activeInteractionMode 获取当前生效的交互模式(语音问答/文本问答)。 × √ addEventListeners 回调注册。 √ √ checkBrowserSupport 检查浏览器是否支持。 √ √ create 创建交互任务。 √ √ destroy 销毁交互任务。
如何呈现PPT的动画效果? 在视频制作界面导入的PPT,不支持展示动画、视频、动图等动态元素。如需展示动态效果,需将PPT导出为视频后,再上传至MetaStudio控制台使用。 PPT转视频的操作如下所示: 本地打开PPT文件,在左上方的导航栏中,选择“文件 > 导出”。 选择创
在MetaStudio控制台创建技能并导出技能文件:先创建技能,再添加所有问答对后,导出技能文件。 在科大讯飞创建同名技能并导入技能文件:将MetaStudio导出的技能文件导入至科大讯飞的同名技能中。 创建智能交互数字人中的“第三方应用”选择“科大讯飞AIUI通用语义模型”或“科大讯飞星火
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
String 参数解释: 互动规则库ID。从互动库导入时携带互动库ID。 约束限制: 不涉及。 取值范围: 字符长度1-64位。 默认取值: 不涉及。 group_name String 参数解释: 互动规则库名称。从互动库导入时携带互动库名称。 约束限制: 不涉及。 取值范围:
// In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables
String 参数解释: 互动规则库ID。从互动库导入时携带互动库ID。 约束限制: 不涉及。 取值范围: 字符长度1-64位。 默认取值: 不涉及。 group_name 否 String 参数解释: 互动规则库名称。从互动库导入时携带互动库名称。 约束限制: 不涉及。 取值范围:
单击“添加文件”,从本地选择文件,单击“确定”。 等待文件导入成功后,可以看到增加成功的问题类别及其全量语料对,示例如图6所示。 图6 批量导入语料 全量导入完成后,单击界面右上方的“对话体验”,输入前面导入的语料对问题。 验证下语料对导入是否成功,示例如图7所示。 图7 对话体验 父主题:
背景:背景图片列表,可本地导入图片。支持透明背景、纯色背景或导入图片。 PPT:PPT文件列表,需要用户从本地导入后使用。 贴图:各类贴图列表,可本地导入素材。支持在当前画面基础上,增加贴图,丰富视频画面。 视频:各类无声音视频列表,可本地导入视频文件。支持添加为背景视频。