foundation_models_framework 0.0.1
foundation_models_framework: ^0.0.1 copied to clipboard
A Flutter package for integrating with Apple's Foundation Models framework on iOS devices. Provides text summarization, embedding generation, and Apple Intelligence features.
0.0.1 #
Initial release of Foundation Models Framework for Flutter.
Features #
- Text Summarization: Generate concise summaries using Apple's Foundation Models
- Text Embeddings: Create vector representations for semantic analysis
- Device Availability Check: Verify Foundation Models support on iOS devices
- Type-safe API: Built with Pigeon for reliable platform communication
- iOS 26.0+ Support: Full integration with Apple's latest AI framework
Platform Support #
- iOS 26.0 or later
- Flutter 3.0.0 or later
Documentation #
- Comprehensive README with installation and usage instructions
- Complete example application demonstrating all features
- API reference and error handling guidelines
Technical Implementation #
- Pigeon-generated platform channels for type-safe communication
- Swift implementation using Foundation Models framework
- Singleton pattern for easy access to functionality
- Proper error handling and device compatibility checks