Dialogflow 代理 (Dialogflow)
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
利用 Dialogflow,您可以在代理中指定多种语言,从而允许您使用意图中特定于语言区域的差异,例如“用户说”短语和“响应”。如要在代理中支持多种语言,请按以下步骤操作:
- 创建一个 Dialogflow 代理,指定为您的 Action 提供最佳体验的语言。
点击代理的齿轮图标下的 + 图标,即可为代理添加语言。系统会显示“语言”标签页:

从选择其他语言 (Select Additional Language) 下拉菜单中选择支持的语言。

如有必要,请点击所需语言的添加语言区域来指定语言区域。如果您未指定语言区域,那么该语言的所有自定义设置都会应用于该语言的所有语言区域。

照常创建 intent 并切换语言条状标签,以针对每种语言或语言区域自定义用户说短语和 Dialogflow 响应。

对于需要执行方式的 intent,请参阅 Fulfillment 了解详情。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eDialogflow allows you to create multilingual agents, enabling you to tailor user interactions and responses based on language and locale.\u003c/p\u003e\n"],["\u003cp\u003eYou can add multiple languages and locales to your agent through the agent settings, starting with a primary language for the best initial user experience.\u003c/p\u003e\n"],["\u003cp\u003eIntents can be customized for each language or locale, including user phrases and Dialogflow responses, by switching between them in the interface.\u003c/p\u003e\n"],["\u003cp\u003eWhile adding languages, you can choose to add specific locales or apply customizations to all locales of a language for broader coverage.\u003c/p\u003e\n"],["\u003cp\u003eFor intents that require fulfillment, refer to the Fulfillment documentation for localized fulfillment strategies.\u003c/p\u003e\n"]]],[],null,[]]