सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
Flutter AI Toolkit एक विविध AI-संचालित चैट विजेट है जो मोबाइल, डेस्कटॉप और वेब प्लेटफॉर्म के लिए Flutter एप्लिकेशन के लिए डिज़ाइन किया गया है। इसमें पाठ, छवि और आवाज़ इनपुट के समर्थन के साथ जनरेटिव AI फीचर्स को बेहतर ढंग से एकीकृत करने में सक्षम है। बेहतर उपयोगकर्ता अंतरक्रिया के लिए बुद्धिमान बातचीत इंटरफेस के साथ विकासकर्ताओं के लिए बनाया गया, इस टूलकिट ने एडवांस्ड AI क्षमताओं को एप्लिकेशन में एम्बेड करने को सरल बना दिया है बिना विस्तृत कॉन्फ़िगरेशन के। इसमें आधुनिक LLM का उपयोग किया गया है और रियल-टाइम प्रतिक्रिया प्रदान करता है, जिससे यह चैटबॉट, वर्चुअल असिस्टेंट और इंटरैक्टिव कंटेंट टूल्स के लिए आदर्श है। पैकेज को Flutter Labs द्वारा बनाए रखा जाता है और GitHub पर होस्ट किया गया है ताकि पारदर्शिता और समुदाय योगदान को बढ़ावा मिले।
उपयोग
AI-संचालित ग्राहक समर्थन
इंटरैक्टिव लर्निंग ऐप्स
वॉइस-समर्थित वर्चुअल असिस्टेंट्स
सामग्री उत्पादन टूल्स
रियल-टाइम सहयोगी चैट
मुख्य विशेषताएँ
पाठ, छवि और ध्वनि इनपुट समर्थन
प्लेटफॉर्म के अनुकूलता
रियल-टाइम एआई प्रतिक्रियाएं
Flutter के साथ आसान एकीकरण
चैट इंटरफेस के लिए बिल्ट-इन UI घटक
इनके लिए उपयुक्त
AI चैट फीचर्स बनाने वाले डेवलपर्स
शैक्षिक ऐप निर्माता
ग्राहक सेवा एप्लिकेशन टीमें
उत्पादकता टूल निर्माता
वेब और मोबाइल ऐप स्टार्टअप
विचार योग्य बातें
पीछे की ओर AI सेवा एकीकरण की आवश्यकता है
विशिष्ट LLM के लिए कस्टमाइजेशन की आवश्यकता हो सकती है
प्रदर्शन नेटवर्क की गति पर निर्भर करता है
सीमित ऑफलाइन कार्यक्षमता
बाहरी API की उपलब्धता पर निर्भर
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
The AI Toolkit is a set of AI chat-related widgets to make it easy to add an AI
chat window to your Flutter app. The AI Toolkit is organized around an abstract
LLM provider API that makes it easy to swap out the LLM provider that you'd like
your chat provider to use. Out of the box, it comes with support for one LLM
provider integration: Firebase AI.
Key features
Multi-turn chat:
Maintains context across multiple interactions.
Streaming responses:
Displays AI responses in real-time as they're generated.
Rich text display:
Supports formatted text in chat messages.
Voice input:
Allows users to input prompts using speech.
Multimedia attachments:
Enables sending and receiving various media types.
Custom styling:
Offers extensive customization to match your app's design.
Chat serialization/deserialization:
Store and retrieve conversations between app sessions.
Pluggable LLM support:
Implement a simple interface to plug in your own LLM.
Cross-platform support:
Compatible with the Android, iOS, web, and macOS platforms.
Getting started
Installation
Add the following dependencies to your pubspec.yaml file:
The FirebaseAI class comes from the firebase_ai package. The AI Toolkit
provides the FirebaseProvider class to expose Firebase AI to the
LlmChatView. Note that you provide a model name that corresponds to one of
the available model names.
Microphone access:
To enable voice input for users, update configs according to the
permission and setup instructions for package:record.
File selection:
To enable users to select and attach files,
follow the usage instructions for package:file_selector.
Image selection:
To enable users to take or select a picture from their device, refer to
the installation instructions for package:image_picker.
Samples
To run the example apps in the example/lib directory, first replace the
example/lib/firebase_options.dart file by running flutterfire config (you
may need to manually delete this file first). The provided
firebase_options.dart file is a placeholder for configuration needed by the
examples.
Breaking changes and migration
The v0.9.8 release contained breaking changes. If you have code that uses
a version prior to that, please see the migration notes.
Feedback
As you use this package, please log issues and feature requests as well as
submit any code you'd like to contribute. We want your feedback and
contributions to ensure that the AI Toolkit is as robust and useful as it can be
for your real-world apps.