ai_chat_assistant 0.1.0
ai_chat_assistant: ^0.1.0 copied to clipboard
A lightweight, plug-and-play Flutter library that provides AI-powered chat assistance with automatic platform detection and intelligent service selection.
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.1.0 - 2024-12-02 #
Added #
- Initial release of AI Chat Assistant library
- AIChatAssistant static API for easy initialization and usage
- AISuggestionWidget for displaying AI-generated suggestions
- AITextInputWidget for text input with AI integration
- Automatic platform detection and service selection
- Gemini Nano support for Android 14+ (on-device processing)
- Gemini API support for iOS and older Android devices
- Customizable widget styling and theming
- Message history management (up to 100 messages)
- Error handling with automatic retry logic
- Fallback suggestions when AI service fails
- Request caching to minimize API calls
- Comprehensive documentation and examples
- Example application demonstrating all features
Features #
- Cross-platform support (iOS and Android)
- Privacy-focused with on-device processing on Android 14+
- Lightweight package (<500KB)
- Fast response times (<3 seconds average)
- HTTPS-only API communication
- Memory-efficient with automatic cleanup
- Fully customizable widgets
- Simple integration with minimal setup