·10 min read
Apple's Foundation Models framework includes PromptBuilder and InstructionsBuilder—Swift result builders that transform how we compose prompts. This post explores why declarative prompt composition beats string concatenation, and how to build type-safe, composable AI interactions.