analyzer
此套件提供一個庫,可執行 Dart 程式碼的靜態分析。
FlutterVoiceFriend 是一個開源的 Flutter 應用程式,旨在幫助開發者使用尖端的語音轉文字(STT)和文字轉語音(TTS)技術,建立互動式、語音驅動的聊天機器人體驗。
此套件提供一個庫,可執行 Dart 程式碼的靜態分析。
極快、易於使用且完全非同步的 NoSQL 資料庫,適用於 Flutter。
Isar 資料庫的程式碼產生器。尋找使用 @Collection 標註的類別。
使用 LangChain.dart 建構基於大型語言模型的強大 Dart 與 Flutter 應用程式。
OpenAI(GPT-5、o3、嵌入、DALL·E 等)的 LangChain.dart 集成模組
一個 Flutter 插件,可提供特定於設備的語音轉文字識別功能。
一個用於 Flutter 的底層音訊外掛,主要針對遊戲與沉浸式應用。基於 SoLoud (C++) 音訊引擎。
從麥克風錄製音訊至檔案或串流,支援多種編解碼器、位元速率和取樣率選項。
用於處理外部函數介面(FFI)程式碼的工具。
v1.3.0載入動畫或載入旋轉圖示或載入器。用於在應用程式處於載入狀態或某項作業需要不確定時間處理時顯示載入動畫。
輕鬆從頭開始重新啟動您的應用程式,遺失任何先前的狀態
一個純 Dart 套件,即使在行動網路下也能以亞秒級回應時間檢查您的網路連接!
^6.7.0^2.2.2^2.0.0{"sdk":"flutter"}^5.1.0^1.1.12.0.2^6.2.1^1.2.2^2.5.2^0.19.0{"version":"3.1.8","hosted":"https://pub.isar-community.dev/"}{"version":"3.1.8","hosted":"https://pub.isar-community.dev/"}^0.9.40^0.7.3^0.7.1^1.2.1^3.1.2^5.4.4^1.9.0^2.1.3^11.3.1^6.1.2^5.1.2^2.3.1^7.0.0^4.5.0^1.2.7^3.0.0^2.4.12^1.0.6^0.13.1^3.0.0{"sdk":"flutter"}{"version":"3.1.8","hosted":"https://pub.isar-community.dev/"}以下為英文專案原文快照,最新內容請造訪 GitHub。
FlutterVoiceFriend is an open-source Flutter application designed to help developers build interactive, voice-driven chatbot experiences using a combination of cutting-edge speech-to-text (STT) and text-to-speech (TTS) technologies. The app leverages Langchain, OpenAI for natural language processing and TTS, as well as both on-device and cloud-based speech recognition (including Deepgram) to offer flexible voice interaction capabilities.
Whether you’re developing a virtual assistant, a conversational AI tool, or an educational voice companion, FlutterVoiceFriend provides a solid foundation for building customizable, voice-based applications.
Voice-to-Voice Chatbot:
Multiple Speech Recognition Options:
Flexible and Modular:
Built with Flutter:
Natural Language Processing with Langchain & OpenAI:
Customizable Voice Responses:
Speech-to-Text Flexibility:
"FlutterVoiceFriend" was initially developed for an interactive and engaging app designed to help children explore their emotions and cultivate mindfulness through guided meditation and self-reflection exercises. The Friend in Me guides kids through various activities that are both meditative and reflective in nature. The goal is to teach children self-compassion, mindfulness, and emotional awareness through fun, simple, and engaging exercises.
speech_to_text and deepgram_speech_to_text).As of the current version, there are several features and enhancements that are planned but not yet implemented. Please take note of the following limitations:
Clone the repository:
git clone https://github.com/jbpassot/flutter_voice_friend.git
cd flutter_voice_friend
Install dependencies:
flutter pub get
Generate Isar code:
dart run build_runner build
Add API Keys:
.env.example to .env..env file.Run the app:
flutter run
Configure Settings:
Enjoy!
The app uses various external services like OpenAI for text generation and Deepgram for speech-to-text. Make sure to configure these in the .env file.
OPENAI_API_KEY=your_openai_api_key
DEEPGRAM_API_KEY=your_deepgram_api_key
For a quick start guide on creating a new activity, please see the SIMPLE_TUTORIAL.md file.
We welcome contributions! Please check the CONTRIBUTING.md file for guidelines on how to contribute.
This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. See the LICENSE file for details.
If you have any questions or feedback, feel free to open an issue or contact us at [jbpassot+fluttervoice@gmail.com].