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.