A new Flutter project which communicates with OpenAI API.
- Support requesting organization
- Support system message
- Support streaming message like ChatGPT
- Support to choose GPT models (gpt-3.5-turbo, gpt-4, gpt-4-32k)
- 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
It uses Flutter framework, and uses BLoC pattern to implement state management.
Get Flutter package:
flutter pub get
Build apk:
flutter build apk
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
Distributed under the MIT License. See LICENSE for more information.