liquid_ai_leap 0.2.3 copy "liquid_ai_leap: ^0.2.3" to clipboard
liquid_ai_leap: ^0.2.3 copied to clipboard

A Flutter plugin wrapper for the Liquid AI LEAP SDK. Provides on-device AI inference capabilities using Liquid Foundation Models (LFM) on iOS and Android.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.2.3 - 2026-01-08 #

Changed #

  • Fixed unclosed URLConnection in model downloader

Added #

  • Now supports downloading and using split vision models (language + projector files)

0.2.2 - 2026-01-04 #

Changed #

  • FIX: Pass images as bytes. Image inference will now work.

0.2.1 - 2026-01-04 #

Changed #

  • Version bump

0.2.0 - 2026-01-04 #

Changed #

  • Version bump

Added #

  • FIX ModelRunner.unload() missing public API
  • Document downloadModel()
  • Docuemnt GGUF and tested models

Unreleased #

0.1.0 2025-01-XX #

Added #

  • Initial release of the Liquid AI LEAP Flutter plugin
  • Core model loading and management
    • LiquidAiLeap.loadModel() - Download and load models
    • LiquidAiLeap.downloadModel() - Download models without loading
    • LiquidAiLeap.isModelCached() - Check cache status
    • LiquidAiLeap.deleteModel() - Remove cached models
  • Conversation management
    • ModelRunner.createConversation() - Create new conversations
    • ModelRunner.createConversationFromHistory() - Restore from history
    • Conversation.generateResponse() - Streaming text generation
  • Message types
    • ChatMessage - User, assistant, system, and tool messages
    • ChatMessageContent - Text, image, and audio content types
  • Response types
    • ChunkResponse - Streaming text chunks
    • ReasoningChunkResponse - Reasoning model thinking
    • AudioSampleResponse - Audio output samples
    • FunctionCallResponse - Function call requests
    • CompleteResponse - Generation completion with stats
  • Generation options
    • Temperature control
    • Top-P and Min-P sampling
    • Repetition penalty
    • Max tokens limit
    • JSON schema constraints
  • Function calling support
    • LeapFunction - Function definitions
    • LeapFunctionParameter - Parameter specifications
    • LeapFunctionParameterType - Type system (string, number, etc.)
  • Exception hierarchy
    • LeapException - Base exception type
    • LeapNetworkException - Network errors
    • LeapModelNotFoundException - Model not found
    • LeapInsufficientMemoryException - Memory errors
    • LeapGenerationException - Generation failures
  • Platform implementations
    • iOS via Swift Package Manager
    • Android via Maven
  • Utility scripts
    • dependencies.sh - Manage native SDK dependencies
    • publish.sh - Automated publishing workflow

Platform Requirements #

  • iOS: 15.0+, Xcode 15.0+, Swift 5.9+
  • Android: API 31+ (Android 12), arm64-v8a

Known Issues #

  • Native SDK integration is scaffolded but requires LeapSDK availability
  • iOS simulator support may be limited
1
likes
150
points
134
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin wrapper for the Liquid AI LEAP SDK. Provides on-device AI inference capabilities using Liquid Foundation Models (LFM) on iOS and Android.

Repository (GitHub)
View/report issues

Topics

#liquid-ai #gguf #genai #liquid-ai-leap #edge-inference

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on liquid_ai_leap

Packages that implement liquid_ai_leap