ai throw away the prompt keep the code
Asked on 2025-06-25
1 search
It seems like your question might be off-topic. However, I can provide information about the content presented by Apple at WWDC, specifically related to AI and prompt engineering.
At WWDC 2025, Apple introduced several sessions focused on AI and prompt engineering, particularly with the Foundation Models framework. For example, the session titled "Explore prompt design & safety for on-device foundation models" discussed best practices for designing prompts and ensuring AI safety. This session emphasized the importance of prompt design as a tool for safety and provided guidelines for creating safe and effective AI experiences.
Additionally, the session "Code-along: Bring on-device AI to your app using the Foundation Models framework" demonstrated how to use Xcode's Playground feature to experiment with prompts and improve AI interactions in apps.
If you have any specific questions about these topics or need more detailed information, feel free to ask!

Deep dive into the Foundation Models framework
Level up with the Foundation Models framework. Learn how guided generation works under the hood, and use guides, regexes, and generation schemas to get custom structured responses. We’ll show you how to use tool calling to let the model autonomously access external information and perform actions, for a personalized experience. To get the most out of this video, we recommend first watching “Meet the Foundation Models framework”.

Explore prompt design & safety for on-device foundation models
Design generative AI experiences that leverage the strengths of the Foundation Models framework. We’ll start by showing how to design prompts for the on-device large language model at the core of Apple Intelligence. Then, we’ll introduce key ideas around AI safety, and offer concrete strategies to make your generative AI features safe, reliable, and delightful.

What’s new in Xcode
Discover the latest productivity and performance advancements in Xcode 26. Learn how to leverage large language models in your development workflow. Explore editing and debugging enhancements, improved performance and testing tools, and Swift Build - the open-source build system engine used by Xcode.