File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 2525
2626> 写的不错的技术博客,包含但不局限于 iOS、多端统一、设计、产品等
2727
28+ ### 🐢 [ Code along with the Foundation Models framework] ( https://developer.apple.com/videos/play/meet-with-apple/205/ )
29+
30+ [ @Cooper Chen] ( https://github.com/cjlcooper ) :这篇文章介绍了 Apple 在 WWDC 2025 推出的 ** Foundation Models 框架** ,展示了如何在 iOS 与 macOS 应用中直接调用系统内置的大语言模型,实现真正的 ** on-device AI** 。通过一个“旅行行程生成器”的示例,作者带你一步步完成从文本生成到结构化输出的全过程,深入展示 Apple Intelligence 的开发潜力。
31+
32+ 主要亮点包括:
33+
34+ - 隐私与安全** :模型完全在设备上运行,无需上传数据或调用云端接口。
35+ - 结构化输出** :利用 ` @Generable ` 让模型直接生成 Swift 类型的数据,而非普通文本。
36+ - 提示优化技巧** :通过 instructions、示例(one-shot)提升输出质量与稳定性。
37+ - 流式响应** :实时展示生成过程,让用户体验更自然流畅。
38+ - 工具调用(Tool Calling)** :让模型能主动调用外部函数或服务,融合实时数据与智能生成。
39+
40+ 这篇文章不仅是一份技术指南,更是 Apple 对 AI 未来方向的实践展示。
41+ 它强调 ** 隐私优先、系统原生、开发高效** 的理念,是每位希望深入了解 Apple Intelligence 的开发者必读之作。
42+
2843## 工具
2944
3045> 开发过程中常用的工具,及一些新工具的介绍
You can’t perform that action at this time.
0 commit comments