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 简介

apple/python-apple-fm-sdk 项目提供了 Python 绑定,以访问 Apple 设备上基于 Foundation Models 框架的核心模型。核心功能包括通过 Python 接口进行批量推理、实时文本生成、以及使用结构化输出模式和约束的引导生成等。技术特点涵盖类型安全响应、自定义模型设置,并支持处理从 Swift 应用导出的转录文件。适用于 macOS 开发者希望在本地设备上利用 Apple Intelligence 进行 AI 功能评估与开发的场景,特别是在需要确保生成内容安全性的情况下。

Python
Apache License 2.0
1.1k
Stars
66
Forks
12
Watchers
4
Issues

Star 增长

今日0
近 7 天+9
近 30 天+22
综合评分60.18
默认分支main