# rudrank.ai > Notes and practical references from Rudrank Riyam on Apple development, AI systems, developer tools, and on-device AI. Important notes: - The primary Foundation Models resource is the Foundation Models Guide. - Use the canonical HTML pages for citation URLs. - Use /llms-full.txt when a single Markdown context file is easier for an AI assistant or coding agent. ## Foundation Models Guide - [Foundation Models overview](https://www.rudrank.ai/foundation-models): Practical guide for Apple's Foundation Models framework. - [01. Introduction to Foundation Models](https://www.rudrank.ai/foundation-models/introduction-to-foundation-models): Understand what Apple's Foundation Models framework can do, where it fits, and when to choose it for app features. - [02. Getting Started with Sessions](https://www.rudrank.ai/foundation-models/getting-started-with-sessions): Create your first LanguageModelSession, check model availability, and build the basic interaction loop. - [03. Streaming and Snapshots](https://www.rudrank.ai/foundation-models/streaming-and-snapshots): Build responsive interfaces around Foundation Models snapshots instead of token-by-token deltas. - [04. Generation Options and Sampling Control](https://www.rudrank.ai/foundation-models/generation-options-and-sampling-control): Tune sampling behavior with generation options while keeping on-device output practical and predictable. - [05. Structured Generation with Schemas](https://www.rudrank.ai/foundation-models/structured-generation-with-schemas): Use @Generable, @Guide, and schemas to turn model output into type-safe Swift data. - [06. Basic Tool Use](https://www.rudrank.ai/foundation-models/basic-tool-use): Give the model carefully scoped tools so it can fetch data, call services, and act inside your app. - [07. Advanced Chat Patterns](https://www.rudrank.ai/foundation-models/advanced-chat-patterns): Design multi-turn Foundation Models conversations with state, transcripts, and app-specific context. - [08. Safety and Best Practices](https://www.rudrank.ai/foundation-models/safety-and-best-practices): Handle guardrails, refusals, privacy, and production boundaries for on-device AI features. - [09. Integrating External JSON APIs](https://www.rudrank.ai/foundation-models/integrating-external-json-apis): Combine external JSON APIs with Foundation Models for grounded app workflows and structured results. - [10. Content Tagging and Classification](https://www.rudrank.ai/foundation-models/content-tagging-and-classification): Classify, tag, and organize user content with small, focused prompts and structured output. - [11. Supported Languages and Internationalization](https://www.rudrank.ai/foundation-models/supported-languages-and-internationalization): Inspect supported locales and build multilingual Foundation Models experiences responsibly. - [12. Training Custom Adapters](https://www.rudrank.ai/foundation-models/training-custom-adapters): Explore Apple's adapter training flow and where custom adapters fit into app-specific AI. ## LLM context - [Full Foundation Models Markdown context](https://www.rudrank.ai/llms-full.txt): Complete chapter text in one Markdown file for AI assistants and coding agents. ## Examples and source - [Foundation Models Framework Example](https://github.com/rudrankriyam/Foundation-Models-Framework-Example): Example repository for Apple's Foundation Models framework. - [Foundation Models Adapter Studio](https://github.com/rudrankriyam/Foundation-Models-Adapter-Studio): macOS app for comparing Foundation Models adapters. ## Site metadata - [Sitemap](https://www.rudrank.ai/sitemap.xml): Canonical crawlable routes. - [RSS](https://www.rudrank.ai/rss.xml): Recent writing feed.