Swift Language Models: Claude, GPT, Gemini and more in a Foundation Models session
Swift Forums
Swift Language Models: Claude, GPT, Gemini and more in a Foundation Models session
Hi everyone, Swift Language Models is a wrapper that brings other providers' language models into Apple's native Foundation Models API. Foundation Models 27 lets any type conform to LanguageModel (Apple's guide), and this package provides those conformances. Your app keeps Apple's own API: LanguageModelSession, tools, @Generable guided generation, streaming, transcripts and Dynamic Profiles. Moving a session from the on-device model to a remote one changes only its model:, and new framework fe...
0 comments
No comments yet.