Foundation modelフレームワークって何
Asked on 06/13/2025
1 search
The Foundation Models framework is a new offering from Apple that provides access to an on-device large language model through a convenient Swift API. This framework is available on macOS, iOS, iPadOS, and VisionOS, and it allows developers to enhance their apps with intelligent features while keeping all data private and on-device. The framework is optimized for tasks such as content generation, text summarization, and user input analysis, and it can run offline without increasing app size.
The framework is designed to be easy to use, requiring just a few lines of code to integrate into an app. It supports features like guided generation for structured output, tool calling for executing custom functions, and stateful sessions for multi-turn interactions. Additionally, it includes safety guardrails to ensure the responsible use of AI.
For more detailed information, you can refer to the session Meet the Foundation Models framework (00:00:00) from WWDC 2025.

Meet the Foundation Models framework
Learn how to tap into the on-device large language model behind Apple Intelligence! This high-level overview covers everything from guided generation for generating Swift data structures and streaming for responsive experiences, to tool calling for integrating data sources and sessions for context management. This session has no prerequisites.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Discover machine learning & AI frameworks on Apple platforms
Tour the latest updates to machine learning and AI frameworks available on Apple platforms. Whether you are an app developer ready to tap into Apple Intelligence, an ML engineer optimizing models for on-device deployment, or an AI enthusiast exploring the frontier of what is possible, we’ll offer guidance to help select the right tools for your needs.