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].