anthropics

ClaudeForFoundationModels

anthropics

Claude support for Apple Foundation Models

AI 简介

这是一个为 Apple Foundation Models 框架提供 Claude 大模型集成支持的 Swift 工具包。它通过实现 `LanguageModel` 协议,使开发者能以统一 API(如 `LanguageModelSession.respond(to:)`)调用 Claude 的服务器端能力,支持流式响应、结构化输出、工具调用与 Web 搜索等特性。项目专为 iOS 27/macOS 27 等新系统中 Foundation Models 的服务端语言模型 API 设计,适用于在 Apple 生态内构建需高性能云端 LLM 能力的原生应用,如智能助手、内容生成或数据增强类工具。

Swift
Apache License 2.0
371
Stars
56
Forks
16
Watchers
7
Issues

Star 增长

今日+1
近 7 天+7
近 30 天+36
综合评分5.27
默认分支main