搜尋套件、儲存庫與 APP 分類

套件詳情v1.0.2

genkit

Genkit Dart 套件,一個適用於純 Dart 客戶端/伺服器與 Flutter 應用的生成式 AI 庫。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
4.6萬
喜歡數
84
Pub 分數
160

安裝套件

flutter pub add genkit

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Genkit 是一個用於 Dart 的生成式 AI 庫,讓開發者能夠將大型語言模型(LLMs)和 AI 功能整合到純 Dart 應用程式中,包括適用於 Android、iOS、Web、macOS、Windows 和 Linux 的 Flutter 應用。它提供了一個統一的 API,用於建構聊天介面、內容產生和自然語言處理等 AI 功能,直接在客戶端和伺服器環境中實現。Genkit 設計用於跨平台無縫使用,簡化了生成式 AI 工作流程的實作,無需外部相依性或複雜設定。

適用情境

  • 在Flutter應用中建構AI聊天機器人
  • 使用大語言模型生成文本內容
  • 實現自然語言理解
  • 建立AI驅動的使用者協助
  • 開發跨平台人工智慧功能

主要特色

  • 跨平台支援所有主要作業系統
  • 客戶端和伺服器的統一 API
  • 與大語言模型供應商的內建整合
  • 支援提示工程與鏈式呼叫
  • 輕量且易於整合

適合對象

  • Flutter 開發人員新增 AI 功能
  • 需要生成式人工智慧的後端服務
  • 全-stack Dart 應用
  • 原型設計人工智能驅動的應用程式
  • 建構多平台 AI 工具的團隊

使用建議

  • 需要熟悉大語言模型(LLM)概念
  • 依賴外部大語言模型提供者API
  • 根據使用情況可能會產生費用
  • 僅限 Dart/Flutter 生態系統
  • 性能取決於遠端模型的網路延遲

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Genkit logo
Genkit Dart
AI SDK for Dart • LLM Framework • AI Agent Toolkit

Build production-ready AI-powered applications in Dart with a unified interface for text generation, structured output, tool calling, and agentic workflows.

Documentation • Discord


Using a coding agent? Install the skill.

Before you write a line of Genkit Dart with an agent, install the official Genkit Dart Agent Skill:

npx skills add genkit-ai/skills --skill developing-genkit-dart

It teaches your agent the current Genkit Dart APIs (flows, tools, agents, sessions, prompts, plugins, schemantic) and common gotchas. Source, manual install instructions, and skills for JS/TS, Go and Python: github.com/genkit-ai/skills.


See the Genkit package documentation for getting started, guides, and API reference.

Package Description Pub
genkit The Genkit framework: flows, tools, prompts, structured output, agents, and a client for calling deployed flows. Pub
genkit_google_genai Google AI plugin for Genkit Dart. Pub
genkit_vertexai Vertex AI plugin for Genkit Dart. Pub
genkit_anthropic Anthropic plugin for Genkit Dart. Pub
genkit_openai OpenAI plugin for Genkit Dart. Pub
genkit_chrome Chrome Prompt API (Gemini Nano) plugin for Genkit Dart. Pub
genkit_mcp Model Context Protocol (MCP) plugin for Genkit Dart. Pub
genkit_middleware Common middlewares (filesystem, skills, toolApproval) for Genkit Dart. Pub
genkit_a2ui A2UI (Agent-to-UI) streaming UI protocol support for Genkit Dart (experimental). Pub
genkit_shelf Shelf adapter for serving Genkit actions and agents over HTTP. Pub
genkit_otel OpenTelemetry GenAI semantic-conventions instrumentation for Genkit Dart. Pub
genkit_firebase_ai Firebase AI plugin for Genkit Dart. Pub
genkit_google_cloud Google Cloud integration for Genkit Dart (Firestore session store, experimental). Pub
schemantic Type-safe data classes and runtime JSON Schemas, with serialization and validation. Pub
schemantic_builder The code generator for schemantic. Pub

Versioning

Packages at version 1.0 or later follow semantic versioning:

  • 1.0+ packages: Breaking changes only ship in a new major version.
  • 0.x packages and experimental APIs (such as package:genkit/experimental.dart): May change in minor releases.

Each package has its own CHANGELOG.md, also shown on its pub.dev page.


Built by Google with contributions from the Open Source Community

所屬分類

依賴

依賴清單 9 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。

所在榜單