Module 4 of 4 in Building Intelligent Apps with Apple AI Models

Apple Foundation Models

Share
Save for later

Module outcomes

  • Create a chat app using Apple Foundation Models.
  • Recognize trade-offs of running LLMs on-device.
  • Apply guardrails and safe input practices.
  • Use guided generation for structured and dynamic data.
  • Stream responses and integrate external tools.

Covered concepts

  • Foundation Models basics and on-device constraints.
  • Prompts, sessions, and response streaming.
  • Safety, guardrails, and user input handling.
  • Guided generation with @Generable and PartiallyGenerated types.
  • Dynamic schemas and external tool integration.

Module content

IntroductionStart
Using Foundation Models
Foundation Models Sessions
Streaming Model Responses
Conclusion
2
IntroductionStart
Handling Full Context Windows
Conclusion
IntroductionStart
Introducing Guided Generation
Dynamic Guided Generation
Conclusion