A Flutter project which communicate with OpenAI API
Flutter Chat
A new Flutter project which communicates with OpenAI API.
Screenshots
Features
- Support requesting organization
- Support system message
- Support streaming message like ChatGPT
How to use
- Get OpenAI API Key
- Tap setting button on top right corner to set API Key (required) and Organization (optional)
- Add a new conversation
- Chat with Open AI!
Architecture
It uses Flutter framework, and uses BLoC pattern to implement state management.
How to build
Get Flutter package:
flutter pub get
Build apk:
flutter build apk
References
Mainly used Flutter packages:
- shared_preferences to store app settings & conversations
- flutter_bloc for state management
- settings_ui for setting page
- flutter_markdown to render messages in markdown format
License
Distributed under the MIT License. See LICENSE for more information.