├── .github ├── CICD.md ├── WORKFLOWS.md └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .pubignore ├── CHANGELOG.md ├── CLAUDE.md ├── LICENSE ├── README.md ├── README_SIMPLIFIED.md ├── TODO.md ├── analysis_options.yaml ├── android ├── .gitignore ├── build.gradle ├── consumer-proguard-rules.pro ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle └── src │ └── main │ ├── AndroidManifest.xml │ └── kotlin │ └── dev │ └── flutterberlin │ └── flutter_gemma │ ├── EmbeddingModel.kt │ ├── FlutterGemmaPlugin.kt │ ├── InferenceModel.kt │ ├── PigeonInterface.g.kt │ └── VectorStore.kt ├── assets ├── gemma.gif ├── gemma.png └── gemma3.png ├── colabs └── gemma_lora_1.ipynb ├── example ├── .gitignore ├── .metadata ├── README.md ├── analysis_options.yaml ├── android │ ├── .gitignore │ ├── app │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── kotlin │ │ │ │ └── dev │ │ │ │ │ └── flutterberlin │ │ │ │ │ ├── example │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ └── flutter_gemma_example │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v21 │ │ │ │ └── launch_background.xml │ │ │ │ ├── drawable │ │ │ │ └── launch_background.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── values-night │ │ │ │ └── styles.xml │ │ │ │ ├── values │ │ │ │ └── styles.xml │ │ │ │ └── xml │ │ │ │ └── network_security_config.xml │ │ │ └── profile │ │ │ └── AndroidManifest.xml │ ├── build.gradle.kts │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ └── gradle-wrapper.properties │ └── settings.gradle.kts ├── assets │ ├── background.png │ ├── background_1.png │ ├── deepseek.png │ ├── deepseek_background.png │ ├── gemma.png │ ├── gemma3.png │ └── models │ │ ├── .gitkeep │ │ └── sentencepiece.model ├── config.json.example ├── integration_test │ ├── plugin_integration_test.dart │ └── vector_store_test.dart ├── ios │ ├── .gitignore │ ├── Flutter │ │ ├── AppFrameworkInfo.plist │ │ ├── Debug.xcconfig │ │ └── Release.xcconfig │ ├── Podfile │ ├── Podfile.lock │ ├── Runner.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ └── WorkspaceSettings.xcsettings │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ ├── Runner.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ ├── Runner │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ ├── Contents.json │ │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ │ ├── Icon-App-20x20@1x.png │ │ │ │ ├── Icon-App-20x20@2x.png │ │ │ │ ├── Icon-App-20x20@3x.png │ │ │ │ ├── Icon-App-29x29@1x.png │ │ │ │ ├── Icon-App-29x29@2x.png │ │ │ │ ├── Icon-App-29x29@3x.png │ │ │ │ ├── Icon-App-40x40@1x.png │ │ │ │ ├── Icon-App-40x40@2x.png │ │ │ │ ├── Icon-App-40x40@3x.png │ │ │ │ ├── Icon-App-60x60@2x.png │ │ │ │ ├── Icon-App-60x60@3x.png │ │ │ │ ├── Icon-App-76x76@1x.png │ │ │ │ ├── Icon-App-76x76@2x.png │ │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ │ └── LaunchImage.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── LaunchImage.png │ │ │ │ ├── LaunchImage@2x.png │ │ │ │ ├── LaunchImage@3x.png │ │ │ │ └── README.md │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ ├── Info.plist │ │ ├── Runner-Bridging-Header.h │ │ └── Runner.entitlements │ └── RunnerTests │ │ └── RunnerTests.swift ├── lib │ ├── chat_input_field.dart │ ├── chat_message.dart │ ├── chat_screen.dart │ ├── chat_widget.dart │ ├── constants │ │ └── app_keys.dart │ ├── cosine_similarity_screen.dart │ ├── embedding_models_screen.dart │ ├── embedding_test_screen.dart │ ├── gemma_input_field.dart │ ├── home_screen.dart │ ├── integration_test_screen.dart │ ├── loading_widget.dart │ ├── main.dart │ ├── main_integration_tests.dart │ ├── model_download_screen.dart │ ├── model_selection_screen.dart │ ├── models │ │ ├── base_model.dart │ │ ├── embedding_model.dart │ │ └── model.dart │ ├── services │ │ ├── auth_token_service.dart │ │ ├── embedding_download_service.dart │ │ ├── gemma_service.dart │ │ └── model_download_service.dart │ ├── thinking_widget.dart │ ├── universal_download_screen.dart │ ├── utils │ │ └── test_preferences.dart │ ├── vector_store_test_screen.dart │ └── widgets │ │ └── universal_model_card.dart ├── pubspec.lock ├── pubspec.yaml ├── test_driver │ └── integration_test.dart └── web │ ├── cache_api.js │ ├── favicon.png │ ├── icons │ ├── Icon-192.png │ ├── Icon-512.png │ ├── Icon-maskable-192.png │ └── Icon-maskable-512.png │ ├── index.html │ ├── litert-Chn2-bR6.js │ ├── litert_embeddings.js │ ├── manifest.json │ ├── sentencepiece-4jJwwFvs.js │ └── tensorflow-DAeT7b7x.js ├── gemini.md ├── ios ├── .gitignore ├── Assets │ └── .gitkeep ├── Classes │ ├── EmbeddingModel.swift │ ├── FlutterGemmaPlugin.swift │ ├── InferenceModel.swift │ ├── PigeonInterface.g.swift │ ├── SentencePieceTokenizer.swift │ ├── VectorStore.swift │ └── VectorUtils.swift └── flutter_gemma.podspec ├── lib ├── core │ ├── README.md │ ├── api │ │ ├── embedding_installation_builder.dart │ │ ├── flutter_gemma.dart │ │ └── inference_installation_builder.dart │ ├── chat.dart │ ├── chat_event.dart │ ├── di │ │ ├── platform │ │ │ ├── mobile_service_factory.dart │ │ │ └── web_service_factory.dart │ │ └── service_registry.dart │ ├── domain │ │ ├── cache_metadata.dart │ │ ├── download_error.dart │ │ ├── download_exception.dart │ │ └── model_source.dart │ ├── extensions.dart │ ├── function_call_parser.dart │ ├── handlers │ │ ├── asset_source_handler.dart │ │ ├── bundled_source_handler.dart │ │ ├── file_source_handler.dart │ │ ├── network_source_handler.dart │ │ ├── source_handler.dart │ │ ├── source_handler_registry.dart │ │ ├── web_asset_source_handler.dart │ │ ├── web_asset_source_handler_stub.dart │ │ ├── web_bundled_source_handler.dart │ │ ├── web_bundled_source_handler_stub.dart │ │ ├── web_file_source_handler.dart │ │ ├── web_file_source_handler_stub.dart │ │ ├── web_network_source_handler.dart │ │ └── web_network_source_handler_stub.dart │ ├── image_error_handler.dart │ ├── image_processor.dart │ ├── image_tokenizer.dart │ ├── infrastructure │ │ ├── background_downloader_service.dart │ │ ├── blob_url_manager.dart │ │ ├── blob_url_manager_stub.dart │ │ ├── flutter_asset_loader.dart │ │ ├── in_memory_model_repository.dart │ │ ├── mobile_vector_store_repository.dart │ │ ├── platform_file_system_service.dart │ │ ├── shared_preferences_model_repository.dart │ │ ├── shared_preferences_protected_registry.dart │ │ ├── url_utils.dart │ │ ├── web_cache_interop.dart │ │ ├── web_cache_interop_stub.dart │ │ ├── web_cache_service.dart │ │ ├── web_cache_service_stub.dart │ │ ├── web_download_service.dart │ │ ├── web_download_service_stub.dart │ │ ├── web_file_system_service.dart │ │ ├── web_js_interop.dart │ │ ├── web_js_interop_stub.dart │ │ ├── web_vector_store_repository.dart │ │ └── web_vector_store_repository_stub.dart │ ├── message.dart │ ├── migration │ │ └── legacy_preferences_migrator.dart │ ├── model.dart │ ├── model_management │ │ ├── cancel_token.dart │ │ ├── constants │ │ │ └── preferences_keys.dart │ │ ├── exceptions │ │ │ └── model_exceptions.dart │ │ ├── managers │ │ │ ├── mobile_model_manager.dart │ │ │ └── web_model_manager.dart │ │ ├── types │ │ │ ├── embedding_model_spec.dart │ │ │ ├── inference_model_spec.dart │ │ │ ├── model_spec.dart │ │ │ └── storage_info.dart │ │ └── utils │ │ │ ├── file_system_manager.dart │ │ │ └── resume_checker.dart │ ├── model_response.dart │ ├── multimodal_image_handler.dart │ ├── services │ │ ├── asset_loader.dart │ │ ├── download_service.dart │ │ ├── file_system_service.dart │ │ ├── model_repository.dart │ │ ├── protected_files_registry.dart │ │ └── vector_store_repository.dart │ ├── tool.dart │ ├── utils │ │ └── file_name_utils.dart │ └── vision_encoder_validator.dart ├── flutter_gemma.dart ├── flutter_gemma_interface.dart ├── mobile │ ├── flutter_gemma_mobile.dart │ ├── flutter_gemma_mobile_embedding_model.dart │ ├── flutter_gemma_mobile_inference_model.dart │ └── smart_downloader.dart ├── model_file_manager_interface.dart ├── pigeon.g.dart ├── rag │ └── embedding_models.dart └── web │ ├── flutter_gemma_web.dart │ ├── flutter_gemma_web_embedding_model.dart │ ├── litert_web_embeddings.dart │ ├── llm_inference_web.dart │ └── vector_store_web.dart ├── pigeon.dart ├── pubspec.lock ├── pubspec.yaml ├── test ├── asset_path_parsing_test.dart ├── bundled_models_test.dart ├── core │ ├── di │ │ └── service_registry_test.dart │ ├── handlers │ │ └── source_handler_test.dart │ ├── infrastructure │ │ ├── background_downloader_service_test.dart │ │ └── web_cache_service_test.dart │ ├── model_management │ │ ├── cancel_token_test.dart │ │ ├── types │ │ │ └── model_spec_test.dart │ │ └── utils │ │ │ └── file_system_manager_test.dart │ ├── model_source_test.dart │ └── utils │ │ └── file_name_utils_test.dart ├── error_handling_test.dart ├── error_retry_test.dart ├── flutter_gemma_method_channel_test.dart ├── image_corruption_fix_test.dart ├── model_switching_test.dart └── vector_store_parity_test.dart └── web ├── cache_api.js ├── litert.js ├── litert_embeddings.js ├── rag ├── .gitignore ├── README.md ├── litert_embeddings_api.js ├── package.json ├── sqlite_vector_store.js └── vite.config.js ├── sentencepiece.js ├── sqlite_vector_store.js └── tensorflow.js /.github/CICD.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/.github/CICD.md -------------------------------------------------------------------------------- /.github/WORKFLOWS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/.github/WORKFLOWS.md -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/.gitignore -------------------------------------------------------------------------------- /.pubignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/.pubignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/README.md -------------------------------------------------------------------------------- /README_SIMPLIFIED.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/README_SIMPLIFIED.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/TODO.md -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/analysis_options.yaml -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/.gitignore -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/build.gradle -------------------------------------------------------------------------------- /android/consumer-proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/consumer-proguard-rules.pro -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/gradlew -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/gradlew.bat -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'flutter_gemma' 2 | -------------------------------------------------------------------------------- /android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /android/src/main/kotlin/dev/flutterberlin/flutter_gemma/EmbeddingModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/src/main/kotlin/dev/flutterberlin/flutter_gemma/EmbeddingModel.kt -------------------------------------------------------------------------------- /android/src/main/kotlin/dev/flutterberlin/flutter_gemma/FlutterGemmaPlugin.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/src/main/kotlin/dev/flutterberlin/flutter_gemma/FlutterGemmaPlugin.kt -------------------------------------------------------------------------------- /android/src/main/kotlin/dev/flutterberlin/flutter_gemma/InferenceModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/src/main/kotlin/dev/flutterberlin/flutter_gemma/InferenceModel.kt -------------------------------------------------------------------------------- /android/src/main/kotlin/dev/flutterberlin/flutter_gemma/PigeonInterface.g.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/src/main/kotlin/dev/flutterberlin/flutter_gemma/PigeonInterface.g.kt -------------------------------------------------------------------------------- /android/src/main/kotlin/dev/flutterberlin/flutter_gemma/VectorStore.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/android/src/main/kotlin/dev/flutterberlin/flutter_gemma/VectorStore.kt -------------------------------------------------------------------------------- /assets/gemma.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/assets/gemma.gif -------------------------------------------------------------------------------- /assets/gemma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/assets/gemma.png -------------------------------------------------------------------------------- /assets/gemma3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/assets/gemma3.png -------------------------------------------------------------------------------- /colabs/gemma_lora_1.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/colabs/gemma_lora_1.ipynb -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/.metadata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/.metadata -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/README.md -------------------------------------------------------------------------------- /example/analysis_options.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/analysis_options.yaml -------------------------------------------------------------------------------- /example/android/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/.gitignore -------------------------------------------------------------------------------- /example/android/app/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/build.gradle.kts -------------------------------------------------------------------------------- /example/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/main/kotlin/dev/flutterberlin/example/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/kotlin/dev/flutterberlin/example/MainActivity.kt -------------------------------------------------------------------------------- /example/android/app/src/main/kotlin/dev/flutterberlin/flutter_gemma_example/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/kotlin/dev/flutterberlin/flutter_gemma_example/MainActivity.kt -------------------------------------------------------------------------------- /example/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/res/drawable-v21/launch_background.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/res/drawable/launch_background.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/res/values-night/styles.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/xml/network_security_config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/main/res/xml/network_security_config.xml -------------------------------------------------------------------------------- /example/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/app/src/profile/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/build.gradle.kts -------------------------------------------------------------------------------- /example/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/gradle.properties -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /example/android/settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/android/settings.gradle.kts -------------------------------------------------------------------------------- /example/assets/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/assets/background.png -------------------------------------------------------------------------------- /example/assets/background_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/assets/background_1.png -------------------------------------------------------------------------------- /example/assets/deepseek.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/assets/deepseek.png -------------------------------------------------------------------------------- /example/assets/deepseek_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/assets/deepseek_background.png -------------------------------------------------------------------------------- /example/assets/gemma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/assets/gemma.png -------------------------------------------------------------------------------- /example/assets/gemma3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/assets/gemma3.png -------------------------------------------------------------------------------- /example/assets/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/assets/models/sentencepiece.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/assets/models/sentencepiece.model -------------------------------------------------------------------------------- /example/config.json.example: -------------------------------------------------------------------------------- 1 | { 2 | "HUGGINGFACE_TOKEN": "" 3 | } 4 | -------------------------------------------------------------------------------- /example/integration_test/plugin_integration_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/integration_test/plugin_integration_test.dart -------------------------------------------------------------------------------- /example/integration_test/vector_store_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/integration_test/vector_store_test.dart -------------------------------------------------------------------------------- /example/ios/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/.gitignore -------------------------------------------------------------------------------- /example/ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Flutter/AppFrameworkInfo.plist -------------------------------------------------------------------------------- /example/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Flutter/Debug.xcconfig -------------------------------------------------------------------------------- /example/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Flutter/Release.xcconfig -------------------------------------------------------------------------------- /example/ios/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Podfile -------------------------------------------------------------------------------- /example/ios/Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Podfile.lock -------------------------------------------------------------------------------- /example/ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings -------------------------------------------------------------------------------- /example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme -------------------------------------------------------------------------------- /example/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings -------------------------------------------------------------------------------- /example/ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/AppDelegate.swift -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md -------------------------------------------------------------------------------- /example/ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /example/ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /example/ios/Runner/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Info.plist -------------------------------------------------------------------------------- /example/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /example/ios/Runner/Runner.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/Runner/Runner.entitlements -------------------------------------------------------------------------------- /example/ios/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/ios/RunnerTests/RunnerTests.swift -------------------------------------------------------------------------------- /example/lib/chat_input_field.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/chat_input_field.dart -------------------------------------------------------------------------------- /example/lib/chat_message.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/chat_message.dart -------------------------------------------------------------------------------- /example/lib/chat_screen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/chat_screen.dart -------------------------------------------------------------------------------- /example/lib/chat_widget.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/chat_widget.dart -------------------------------------------------------------------------------- /example/lib/constants/app_keys.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/constants/app_keys.dart -------------------------------------------------------------------------------- /example/lib/cosine_similarity_screen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/cosine_similarity_screen.dart -------------------------------------------------------------------------------- /example/lib/embedding_models_screen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/embedding_models_screen.dart -------------------------------------------------------------------------------- /example/lib/embedding_test_screen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/embedding_test_screen.dart -------------------------------------------------------------------------------- /example/lib/gemma_input_field.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/gemma_input_field.dart -------------------------------------------------------------------------------- /example/lib/home_screen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/home_screen.dart -------------------------------------------------------------------------------- /example/lib/integration_test_screen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/integration_test_screen.dart -------------------------------------------------------------------------------- /example/lib/loading_widget.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/loading_widget.dart -------------------------------------------------------------------------------- /example/lib/main.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/main.dart -------------------------------------------------------------------------------- /example/lib/main_integration_tests.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/main_integration_tests.dart -------------------------------------------------------------------------------- /example/lib/model_download_screen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/model_download_screen.dart -------------------------------------------------------------------------------- /example/lib/model_selection_screen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/model_selection_screen.dart -------------------------------------------------------------------------------- /example/lib/models/base_model.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/models/base_model.dart -------------------------------------------------------------------------------- /example/lib/models/embedding_model.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/models/embedding_model.dart -------------------------------------------------------------------------------- /example/lib/models/model.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/models/model.dart -------------------------------------------------------------------------------- /example/lib/services/auth_token_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/services/auth_token_service.dart -------------------------------------------------------------------------------- /example/lib/services/embedding_download_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/services/embedding_download_service.dart -------------------------------------------------------------------------------- /example/lib/services/gemma_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/services/gemma_service.dart -------------------------------------------------------------------------------- /example/lib/services/model_download_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/services/model_download_service.dart -------------------------------------------------------------------------------- /example/lib/thinking_widget.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/thinking_widget.dart -------------------------------------------------------------------------------- /example/lib/universal_download_screen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/universal_download_screen.dart -------------------------------------------------------------------------------- /example/lib/utils/test_preferences.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/utils/test_preferences.dart -------------------------------------------------------------------------------- /example/lib/vector_store_test_screen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/vector_store_test_screen.dart -------------------------------------------------------------------------------- /example/lib/widgets/universal_model_card.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/lib/widgets/universal_model_card.dart -------------------------------------------------------------------------------- /example/pubspec.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/pubspec.lock -------------------------------------------------------------------------------- /example/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/pubspec.yaml -------------------------------------------------------------------------------- /example/test_driver/integration_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/test_driver/integration_test.dart -------------------------------------------------------------------------------- /example/web/cache_api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/cache_api.js -------------------------------------------------------------------------------- /example/web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/favicon.png -------------------------------------------------------------------------------- /example/web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/icons/Icon-192.png -------------------------------------------------------------------------------- /example/web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/icons/Icon-512.png -------------------------------------------------------------------------------- /example/web/icons/Icon-maskable-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/icons/Icon-maskable-192.png -------------------------------------------------------------------------------- /example/web/icons/Icon-maskable-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/icons/Icon-maskable-512.png -------------------------------------------------------------------------------- /example/web/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/index.html -------------------------------------------------------------------------------- /example/web/litert-Chn2-bR6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/litert-Chn2-bR6.js -------------------------------------------------------------------------------- /example/web/litert_embeddings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/litert_embeddings.js -------------------------------------------------------------------------------- /example/web/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/manifest.json -------------------------------------------------------------------------------- /example/web/sentencepiece-4jJwwFvs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/sentencepiece-4jJwwFvs.js -------------------------------------------------------------------------------- /example/web/tensorflow-DAeT7b7x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/example/web/tensorflow-DAeT7b7x.js -------------------------------------------------------------------------------- /gemini.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/gemini.md -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/ios/.gitignore -------------------------------------------------------------------------------- /ios/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Classes/EmbeddingModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/ios/Classes/EmbeddingModel.swift -------------------------------------------------------------------------------- /ios/Classes/FlutterGemmaPlugin.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/ios/Classes/FlutterGemmaPlugin.swift -------------------------------------------------------------------------------- /ios/Classes/InferenceModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/ios/Classes/InferenceModel.swift -------------------------------------------------------------------------------- /ios/Classes/PigeonInterface.g.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/ios/Classes/PigeonInterface.g.swift -------------------------------------------------------------------------------- /ios/Classes/SentencePieceTokenizer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/ios/Classes/SentencePieceTokenizer.swift -------------------------------------------------------------------------------- /ios/Classes/VectorStore.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/ios/Classes/VectorStore.swift -------------------------------------------------------------------------------- /ios/Classes/VectorUtils.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/ios/Classes/VectorUtils.swift -------------------------------------------------------------------------------- /ios/flutter_gemma.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/ios/flutter_gemma.podspec -------------------------------------------------------------------------------- /lib/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/README.md -------------------------------------------------------------------------------- /lib/core/api/embedding_installation_builder.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/api/embedding_installation_builder.dart -------------------------------------------------------------------------------- /lib/core/api/flutter_gemma.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/api/flutter_gemma.dart -------------------------------------------------------------------------------- /lib/core/api/inference_installation_builder.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/api/inference_installation_builder.dart -------------------------------------------------------------------------------- /lib/core/chat.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/chat.dart -------------------------------------------------------------------------------- /lib/core/chat_event.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/chat_event.dart -------------------------------------------------------------------------------- /lib/core/di/platform/mobile_service_factory.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/di/platform/mobile_service_factory.dart -------------------------------------------------------------------------------- /lib/core/di/platform/web_service_factory.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/di/platform/web_service_factory.dart -------------------------------------------------------------------------------- /lib/core/di/service_registry.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/di/service_registry.dart -------------------------------------------------------------------------------- /lib/core/domain/cache_metadata.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/domain/cache_metadata.dart -------------------------------------------------------------------------------- /lib/core/domain/download_error.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/domain/download_error.dart -------------------------------------------------------------------------------- /lib/core/domain/download_exception.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/domain/download_exception.dart -------------------------------------------------------------------------------- /lib/core/domain/model_source.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/domain/model_source.dart -------------------------------------------------------------------------------- /lib/core/extensions.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/extensions.dart -------------------------------------------------------------------------------- /lib/core/function_call_parser.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/function_call_parser.dart -------------------------------------------------------------------------------- /lib/core/handlers/asset_source_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/asset_source_handler.dart -------------------------------------------------------------------------------- /lib/core/handlers/bundled_source_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/bundled_source_handler.dart -------------------------------------------------------------------------------- /lib/core/handlers/file_source_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/file_source_handler.dart -------------------------------------------------------------------------------- /lib/core/handlers/network_source_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/network_source_handler.dart -------------------------------------------------------------------------------- /lib/core/handlers/source_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/source_handler.dart -------------------------------------------------------------------------------- /lib/core/handlers/source_handler_registry.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/source_handler_registry.dart -------------------------------------------------------------------------------- /lib/core/handlers/web_asset_source_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/web_asset_source_handler.dart -------------------------------------------------------------------------------- /lib/core/handlers/web_asset_source_handler_stub.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/web_asset_source_handler_stub.dart -------------------------------------------------------------------------------- /lib/core/handlers/web_bundled_source_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/web_bundled_source_handler.dart -------------------------------------------------------------------------------- /lib/core/handlers/web_bundled_source_handler_stub.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/web_bundled_source_handler_stub.dart -------------------------------------------------------------------------------- /lib/core/handlers/web_file_source_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/web_file_source_handler.dart -------------------------------------------------------------------------------- /lib/core/handlers/web_file_source_handler_stub.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/web_file_source_handler_stub.dart -------------------------------------------------------------------------------- /lib/core/handlers/web_network_source_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/web_network_source_handler.dart -------------------------------------------------------------------------------- /lib/core/handlers/web_network_source_handler_stub.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/handlers/web_network_source_handler_stub.dart -------------------------------------------------------------------------------- /lib/core/image_error_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/image_error_handler.dart -------------------------------------------------------------------------------- /lib/core/image_processor.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/image_processor.dart -------------------------------------------------------------------------------- /lib/core/image_tokenizer.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/image_tokenizer.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/background_downloader_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/background_downloader_service.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/blob_url_manager.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/blob_url_manager.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/blob_url_manager_stub.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/blob_url_manager_stub.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/flutter_asset_loader.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/flutter_asset_loader.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/in_memory_model_repository.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/in_memory_model_repository.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/mobile_vector_store_repository.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/mobile_vector_store_repository.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/platform_file_system_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/platform_file_system_service.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/shared_preferences_model_repository.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/shared_preferences_model_repository.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/shared_preferences_protected_registry.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/shared_preferences_protected_registry.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/url_utils.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/url_utils.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_cache_interop.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_cache_interop.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_cache_interop_stub.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_cache_interop_stub.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_cache_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_cache_service.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_cache_service_stub.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_cache_service_stub.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_download_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_download_service.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_download_service_stub.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_download_service_stub.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_file_system_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_file_system_service.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_js_interop.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_js_interop.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_js_interop_stub.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_js_interop_stub.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_vector_store_repository.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_vector_store_repository.dart -------------------------------------------------------------------------------- /lib/core/infrastructure/web_vector_store_repository_stub.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/infrastructure/web_vector_store_repository_stub.dart -------------------------------------------------------------------------------- /lib/core/message.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/message.dart -------------------------------------------------------------------------------- /lib/core/migration/legacy_preferences_migrator.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/migration/legacy_preferences_migrator.dart -------------------------------------------------------------------------------- /lib/core/model.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model.dart -------------------------------------------------------------------------------- /lib/core/model_management/cancel_token.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/cancel_token.dart -------------------------------------------------------------------------------- /lib/core/model_management/constants/preferences_keys.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/constants/preferences_keys.dart -------------------------------------------------------------------------------- /lib/core/model_management/exceptions/model_exceptions.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/exceptions/model_exceptions.dart -------------------------------------------------------------------------------- /lib/core/model_management/managers/mobile_model_manager.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/managers/mobile_model_manager.dart -------------------------------------------------------------------------------- /lib/core/model_management/managers/web_model_manager.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/managers/web_model_manager.dart -------------------------------------------------------------------------------- /lib/core/model_management/types/embedding_model_spec.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/types/embedding_model_spec.dart -------------------------------------------------------------------------------- /lib/core/model_management/types/inference_model_spec.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/types/inference_model_spec.dart -------------------------------------------------------------------------------- /lib/core/model_management/types/model_spec.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/types/model_spec.dart -------------------------------------------------------------------------------- /lib/core/model_management/types/storage_info.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/types/storage_info.dart -------------------------------------------------------------------------------- /lib/core/model_management/utils/file_system_manager.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/utils/file_system_manager.dart -------------------------------------------------------------------------------- /lib/core/model_management/utils/resume_checker.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_management/utils/resume_checker.dart -------------------------------------------------------------------------------- /lib/core/model_response.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/model_response.dart -------------------------------------------------------------------------------- /lib/core/multimodal_image_handler.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/multimodal_image_handler.dart -------------------------------------------------------------------------------- /lib/core/services/asset_loader.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/services/asset_loader.dart -------------------------------------------------------------------------------- /lib/core/services/download_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/services/download_service.dart -------------------------------------------------------------------------------- /lib/core/services/file_system_service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/services/file_system_service.dart -------------------------------------------------------------------------------- /lib/core/services/model_repository.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/services/model_repository.dart -------------------------------------------------------------------------------- /lib/core/services/protected_files_registry.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/services/protected_files_registry.dart -------------------------------------------------------------------------------- /lib/core/services/vector_store_repository.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/services/vector_store_repository.dart -------------------------------------------------------------------------------- /lib/core/tool.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/tool.dart -------------------------------------------------------------------------------- /lib/core/utils/file_name_utils.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/utils/file_name_utils.dart -------------------------------------------------------------------------------- /lib/core/vision_encoder_validator.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/core/vision_encoder_validator.dart -------------------------------------------------------------------------------- /lib/flutter_gemma.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/flutter_gemma.dart -------------------------------------------------------------------------------- /lib/flutter_gemma_interface.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/flutter_gemma_interface.dart -------------------------------------------------------------------------------- /lib/mobile/flutter_gemma_mobile.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/mobile/flutter_gemma_mobile.dart -------------------------------------------------------------------------------- /lib/mobile/flutter_gemma_mobile_embedding_model.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/mobile/flutter_gemma_mobile_embedding_model.dart -------------------------------------------------------------------------------- /lib/mobile/flutter_gemma_mobile_inference_model.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/mobile/flutter_gemma_mobile_inference_model.dart -------------------------------------------------------------------------------- /lib/mobile/smart_downloader.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/mobile/smart_downloader.dart -------------------------------------------------------------------------------- /lib/model_file_manager_interface.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/model_file_manager_interface.dart -------------------------------------------------------------------------------- /lib/pigeon.g.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/pigeon.g.dart -------------------------------------------------------------------------------- /lib/rag/embedding_models.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/rag/embedding_models.dart -------------------------------------------------------------------------------- /lib/web/flutter_gemma_web.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/web/flutter_gemma_web.dart -------------------------------------------------------------------------------- /lib/web/flutter_gemma_web_embedding_model.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/web/flutter_gemma_web_embedding_model.dart -------------------------------------------------------------------------------- /lib/web/litert_web_embeddings.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/web/litert_web_embeddings.dart -------------------------------------------------------------------------------- /lib/web/llm_inference_web.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/web/llm_inference_web.dart -------------------------------------------------------------------------------- /lib/web/vector_store_web.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/lib/web/vector_store_web.dart -------------------------------------------------------------------------------- /pigeon.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/pigeon.dart -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/pubspec.lock -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/pubspec.yaml -------------------------------------------------------------------------------- /test/asset_path_parsing_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/asset_path_parsing_test.dart -------------------------------------------------------------------------------- /test/bundled_models_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/bundled_models_test.dart -------------------------------------------------------------------------------- /test/core/di/service_registry_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/core/di/service_registry_test.dart -------------------------------------------------------------------------------- /test/core/handlers/source_handler_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/core/handlers/source_handler_test.dart -------------------------------------------------------------------------------- /test/core/infrastructure/background_downloader_service_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/core/infrastructure/background_downloader_service_test.dart -------------------------------------------------------------------------------- /test/core/infrastructure/web_cache_service_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/core/infrastructure/web_cache_service_test.dart -------------------------------------------------------------------------------- /test/core/model_management/cancel_token_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/core/model_management/cancel_token_test.dart -------------------------------------------------------------------------------- /test/core/model_management/types/model_spec_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/core/model_management/types/model_spec_test.dart -------------------------------------------------------------------------------- /test/core/model_management/utils/file_system_manager_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/core/model_management/utils/file_system_manager_test.dart -------------------------------------------------------------------------------- /test/core/model_source_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/core/model_source_test.dart -------------------------------------------------------------------------------- /test/core/utils/file_name_utils_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/core/utils/file_name_utils_test.dart -------------------------------------------------------------------------------- /test/error_handling_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/error_handling_test.dart -------------------------------------------------------------------------------- /test/error_retry_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/error_retry_test.dart -------------------------------------------------------------------------------- /test/flutter_gemma_method_channel_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/flutter_gemma_method_channel_test.dart -------------------------------------------------------------------------------- /test/image_corruption_fix_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/image_corruption_fix_test.dart -------------------------------------------------------------------------------- /test/model_switching_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/model_switching_test.dart -------------------------------------------------------------------------------- /test/vector_store_parity_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/test/vector_store_parity_test.dart -------------------------------------------------------------------------------- /web/cache_api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/cache_api.js -------------------------------------------------------------------------------- /web/litert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/litert.js -------------------------------------------------------------------------------- /web/litert_embeddings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/litert_embeddings.js -------------------------------------------------------------------------------- /web/rag/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/rag/.gitignore -------------------------------------------------------------------------------- /web/rag/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/rag/README.md -------------------------------------------------------------------------------- /web/rag/litert_embeddings_api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/rag/litert_embeddings_api.js -------------------------------------------------------------------------------- /web/rag/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/rag/package.json -------------------------------------------------------------------------------- /web/rag/sqlite_vector_store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/rag/sqlite_vector_store.js -------------------------------------------------------------------------------- /web/rag/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/rag/vite.config.js -------------------------------------------------------------------------------- /web/sentencepiece.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/sentencepiece.js -------------------------------------------------------------------------------- /web/sqlite_vector_store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/sqlite_vector_store.js -------------------------------------------------------------------------------- /web/tensorflow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_gemma/HEAD/web/tensorflow.js --------------------------------------------------------------------------------