Apple On-Device Foundation Models
Integrates Apple's FoundationModels framework to build privacy-first, on-device AI features for iOS applications.
The FoundationModels skill empowers developers to implement Apple's on-device language models directly into iOS applications. It provides standardized patterns for text generation, structured data extraction using the @Generable macro, and custom tool calling, all while ensuring data privacy and offline functionality. This skill is essential for building Apple Intelligence features that adhere to local execution constraints, providing guidance on availability checks, snapshot streaming, and the 4,096-token context window limit.
주요 기능
01Custom tool calling implementations for domain-specific AI actions
02Multi-turn conversation management with persistent on-device sessions
03Real-time snapshot streaming for responsive, partially-generated UIs
04Availability checking for Apple Intelligence hardware and settings eligibility
051 GitHub stars
06Structured data generation using the @Generable Swift macro for type safety
사용 사례
01Implementing domain-specific AI actions via tool calling for local database lookups
02Building offline-capable AI assistants that preserve user privacy by keeping data on-device
03Extracting structured event or profile data from natural language user input