apple

python-apple-fm-sdk

apple

Python bindings for access to the on-device model at the core of Apple Intelligence through the Foundation Models framework

AI 简介

这是一个为 macOS 提供 Python 接口的 Apple Foundation Models SDK,用于调用设备端运行的 Apple Intelligence 核心基础模型。支持同步/异步文本生成、流式响应、结构化引导生成(含类型安全装饰器)、自定义模型配置及批量推理分析;底层基于 Apple 原生 Foundation Models 框架,所有计算均在本地完成,无需网络请求。适用于 macOS 平台上的 AI 功能验证、Swift 应用质量评估、本地化智能助手开发及生成式 AI 体验原型设计。

Python
Apache License 2.0
1.2k
Stars
70
Forks
12
Watchers
5
Issues

Star 增长

今日0
近 7 天0
近 30 天+8
综合评分54.35
默认分支main