Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

0

苹果App Intents:Siri与应用的智能融合

引言:想象一下,你只需要对Siri说一句“帮我预订明晚的电影票”,Siri就能自动打开你的购票应用,并根据你的偏好推荐合适的电影和场次。这不再是科幻电影中的场景,而是苹果最新推出的App Intents框架正在实现的现实。App Intents作为苹果新一代智能框架,将Siri与应用深度整合,为用户带来更便捷、更智能的交互体验。

App Intents是什么?

App Intents是苹果为开发者提供的一套全新框架,旨在让应用与Siri和Apple Intelligence无缝融合。开发者可以通过定义应用意图、实体和选项,让用户直接用Siri控制应用、搜索应用内容、创建自动化操作,从而提升应用的智能化和便捷性。

App Intents的主要功能:

  • Siri直接控制应用:用户无需打开应用,直接向Siri发出指令,例如“查找我的航班”或“添加待办事项”,Siri就能直接与应用交互执行任务。
  • 应用内容出现在Spotlight搜索中: 用户在Spotlight搜索中直接搜索到应用中的内容,无需打开应用即可快速访问。
    *支持快捷指令和自动化: 用户可以创建和使用快捷指令自动执行特定的应用操作,例如一键打开相机、启动健身追踪等,提高效率。
  • 通过硬件按钮触发操作: 支持基于iPhone或Apple Watch的物理按钮快速启动应用的特定功能,例如一键打开相机或启动健身追踪。

App Intents的技术原理:

  • 意图定义(Intent Definition): 开发者用特定的框架(如 INIntent)定义应用响应的意图。意图是应用功能的高度抽象,例如支付、预订、消息发送等。
  • 意图扩展(Intent Extension): 为处理意图,开发者创建一个意图扩展(Intent Extension),一个特殊的应用扩展,用于处理和响应Siri发送的意图请求。
  • 参数和用户输入: 意图包含参数,参数定义执行意图所需的输入。例如,发送消息的意图可能需要接收者的姓名和消息内容。
  • 对话管理: 对于多步交互的意图,App Intents提供对话管理功能,支持应用基于对话步骤引导用户完成操作。
  • 响应处理: 意图扩展负责处理用户的请求,执行相应的操作,返回结果。

App Intents的应用场景:

  • 语音控制邮件客户端: 用户用Siri直接对邮件客户端发出指令,比如:“嘿Siri,给我读未读邮件。”Siri会打开邮件应用、朗读最新的未读邮件。
  • 智能家居控制: 用户用Siri控制家中的智能设备,例如:“嘿Siri,打开客厅的灯。”Siri会与智能家居系统集成,执行相应的操作。
  • 快速笔记记录: 用户用Siri快速记录笔记,如:“嘿Siri,记下我的想法:‘明天的会议需要准备PPT’。”Siri会将这条笔记保存到用户指定的笔记应用中。
  • 日程管理: 用户用Siri快速添加或修改日程,例如:“嘿Siri,明天下午2点安排一个会议。”Siri会与用户的日历应用交互,创建新的日程事件。
  • 健康追踪: 用户用Siri启动健康追踪,如:“嘿Siri,开始我的跑步锻炼。”Siri会与健康追踪应用通信,记录用户的锻炼数据。

结论:

App Intents是苹果在人工智能领域的重要进展,它将Siri与应用深度整合,为用户带来更便捷、更智能的交互体验。随着App Intents的不断发展,我们可以期待未来应用与Siri的融合将更加深入,用户体验也将更加丰富和个性化。

参考文献:


>>> Read more <<<

Views: 0

0

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注