在对话中间改变机器人语言
我正在创建一个可以用任何支持语言进行交谈的机器人服务。我的问题是,这个人是否开始用英语聊天,在中间他对英语不满意,想变成西班牙语或法语。我想提供该功能。
是否有可能在中间更改机器人的语言? 任何面临同一问题的人都会有所帮助。
提前致谢。
I am creating a bot service which can talk in any supportive language. My question is if the person started in English to chat and in middle he is not comfortable with English and want to change to Spanish or French. I would like to give that feature.
Is there any possibility to change the language of the bot in middle?
Any one faced the same issue helped is a great thing.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,逻辑想要开发的逻辑是不支持语言的这种类型的中间变化。相反,创建机器人,如果需要,它将要求语言更改并进行响应。如果响应是
“是”
,则将可行性赋予用户更改语言。但是到目前为止发生的对话无法转换。这太复杂了。有关语言支持的检查:https://support.microsoft.com/en-gb/office/microsoft-teams-supported-languages-for-help-content-9c71d10a-0c5c-49d4-b6d7-0c58cdfdf4cf
The logic wants to develop is appreciated, unfortunately such type of middle changes of languages in not yet supportive. Instead, create the bot, that will ask for language change if needed and take the response. If the response is
"YES"
then give the feasibility to the user to change the language. But the conversation up to that point happened cannot be converted. It is too complex to think.For language supportive check: https://support.microsoft.com/en-gb/office/microsoft-teams-supported-languages-for-help-content-9c71d10a-0c5c-49d4-b6d7-0c58cdfdf4cf