패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.11.4

flutter_gemma

Android, iOS, 웹 및 데스크톱에서 로컬로 Gemma 및 기타 LLM을 실행하기 위한 플러터 플러그인입니다. 다중 모달 비전, 오디오, 함수 호출, 사고 모드, GPU 가속, 텍스트 임베딩 및 디바이스 내 RAG를 지원합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
4.1만
좋아요
436
Pub 점수
130

패키지 설치

flutter pub add flutter_gemma

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Flutter_Gemma는 Android, iOS, 웹 및 데스크톱 플랫폼에서 Gemma 및 기타 대규모 언어 모델(LLM)을 로컬로 실행할 수 있도록 해주는 Flutter 플러그인입니다. 다중 모달 입력(시각 및 오디오), 함수 호출, 사고 모드, GPU 가속, 텍스트 임베딩, 그리고 디바이스 내 검색 기반 증강 생성(RAG)과 같은 고급 기능을 지원합니다. 클라우드 서비스에 의존하지 않고 디바이스 내에서 모델을 완전히 실행하기 때문에 개인정보 보호 중심 애플리케이션에 적합합니다. 실시간, 안전하고 오프라인에서도 작동하는 AI 기반 앱 개발에 이상적입니다.

사용 사례

  • 오프라인 AI 채팅 애플리케이션
  • 개인 정보 보호를 우선시하는 콘텐츠 생성
  • 다중모달 이미지 및 오디오 처리
  • 기기 내 RAG 시스템
  • 앱에서의 실시간 함수 호출
  • 모바일 및 데스크톱용 로컬 LLM 추론

주요 기능

  • 모든 플랫폼에서 로컬로 LLM 실행
  • 시각 및 음성 다중 모달 입력을 지원합니다
  • 성능을 위한 GPU 가속
  • 함수 호출 및 사고 모드
  • 텍스트 임베딩 및 디바이스 내 RAG
  • 안전하고 개인정보를 보호하는 추론

적합한 대상

  • 개인용 AI 앱을 개발하는 개발자
  • 오프라인 LLM 기능이 필요한 팀
  • 낮은 지연 시간 추론이 필요한 앱
  • 데이터 프라이버시에 중점을 둔 프로젝트
  • 크로스플랫폼 AI 솔루션

고려 사항

  • 대규모 모델에 대한 높은 메모리 사용량
  • 최적의 성능을 위해 호환되는 하드웨어가 필요합니다
  • 모델 크기는 앱 번들 크기에 영향을 미칩니다
  • 지원되는 모델 아키텍처에 제한됨
  • 초기 설정에는 플랫폼별 구성이 필요할 수 있습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Flutter Edge AI

pub package License: MIT

On-device AI for Flutter on Android, iOS, Web, macOS, Windows and Linux. Run any model a registered engine runs, or the model the operating system already ships, with text, vision, audio, function calling, embeddings, RAG and speech. No server, no cloud.

Website · Docs · Models · Codelabs · pub.dev

The core package is small: it installs models and hands them to engines. Every runtime, store and feature is a separate opt-in package, so an app ships only what it uses. Start with the core README or Getting started.

Packages

Package What it does Docs
flutter_edge_ai Core: model installation, the engine registry, sessions and chat. Required by every package except diagnostics and genkit_hybrid. pub.dev · site
Engines
flutter_edge_ai_litertlm LiteRT-LM (.litertlm) through dart:ffi on the five native platforms plus web; CPU, GPU and NPU; the LiteRT embedding backend. pub.dev · site
flutter_edge_ai_mediapipe MediaPipe (.task) on Android, iOS and web. Google's LLM Inference API is maintenance-only; new apps should use .litertlm. pub.dev · site
flutter_edge_ai_llama llama.cpp (.gguf) through llamadart on Android, iOS, macOS, Windows, Linux and web; native LoRA. pub.dev · site
flutter_edge_ai_onnx ONNX Runtime: GenAI inference and embeddings natively, Transformers.js and onnxruntime-web on web. pub.dev · site
flutter_edge_ai_builtin_ai The OS model, nothing to download: Gemini Nano (Android), Apple Foundation Models (iOS, macOS), Windows AI Foundry, the browser Prompt API. pub.dev · site
Embeddings and RAG
flutter_edge_ai_embeddings Embedding tokenizers (Gemma SentencePiece, BERT WordPiece) for .tflite and .onnx embedders. pub.dev · site
flutter_edge_ai_rag On-device RAG: RagIndex, embedding profiles, filters and the vector-store contract. pub.dev · site
flutter_edge_ai_sqlite SQLite (sqlite-vec) vector store on every platform, web included. pub.dev · site
flutter_edge_ai_qdrant Qdrant Edge vector store on native platforms. pub.dev · site
Speech, agents, diagnostics
flutter_edge_ai_speech Speech-to-text, text-to-speech and the VoiceSession voice loop. pub.dev · site
flutter_edge_ai_agent Agent skills (SKILL.md) the model picks and runs: text, JS, native intents and MCP tools. pub.dev · site
flutter_edge_ai_diagnostics Process memory diagnostics on Android, iOS, macOS, Linux and Windows. pub.dev · site
Genkit
genkit_flutter_edge_ai Genkit Dart plugin: on-device models and embedders as Genkit models. pub.dev · site
genkit_hybrid Hybrid routing for Genkit: on-device and cloud models behind one routing policy. Depends only on genkit. pub.dev · site

Which package you need for which task, and how they fit together: Packages and Capabilities.

Maintainers

Maintainer Looks after
Sasha Denisov (@DenisovAV) Lead maintainer: the core API, the engines, the native builds and every release
Jhin Lee (@leehack) flutter_edge_ai_llama
Francesco Vezzani (@kekko7072) flutter_edge_ai_builtin_ai
Samarthsinh Vala (@samarthsinh2660) flutter_edge_ai_diagnostics
Daisuke Majima (@john-rocky) The Hugging Face integration: installing a model straight from its repository

Everyone else who has contributed, and more about each maintainer: flutteredge.ai/contributors.

Repository

More: Migration guide · Desktop support · Contributing. The family shipped as flutter_gemma* up to core 1.11.4; those names stay published as they are.

License

MIT — see LICENSE.

카테고리

의존성

의존성 목록 12 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.

순위