Перейти к содержимому

WWDC26: Build AI-powered scripts with the fm CLI and Python SDK | Apple

Apple Developer

0:00 / 0:00

WWDC26: Build AI-powered scripts with the fm CLI and Python SDK | Apple

5 588 просмотров · 3 мес. назад
Apple Developer
329 тыс. подписчиков
5 588 просмотров · 3 мес. назад
Explore all the new ways to leverage Apple Foundation Models on macOS. The Foundation Models SDK for Python lets you integrate with popular tooling and evaluation packages in the Python ecosystem. Find out how to use the brand new fm command introduced in macOS 27 to streamline scripting, automate model workflows, and accelerate your development process. Explore related documentation, sample code, and more: Foundation Models SDK for Python on GitHub: https://github.com/apple/python-apple... Foundation Models SDK for Python Documentation on GitHub: https://apple.github.io/python-apple-... Bring an LLM provider to the Foundation Models framework: https://developer.apple.com/videos/pl... Build with the new Apple Foundation Model on Private Cloud Compute: https://developer.apple.com/videos/pl... What’s new in the Foundation Models framework: https://developer.apple.com/videos/pl... Build agentic app experiences with the Foundation Models framework: https://developer.apple.com/videos/pl... 00:00 - Introduction 01:22 - Introducing the fm CLI and Python SDK 03:23 - Command line tool 05:02 - fm respond and structured output 06:11 - Automating file management with fm 08:52 - Python SDK 09:42 - Prompting, tool calling and guided generation 10:44 - Building an evaluation pipeline in Python 15:20 - Next steps More Apple Developer resources: Video sessions: https://apple.co/VideoSessions Documentation: https://apple.co/DeveloperDocs Forums: https://apple.co/DeveloperForums App: https://apple.co/DeveloperApp