SnowStar0423/ChatGPT-Flutter-App
Flutter 中的 ChatGPT 类应用
- Stars
- 79
- Forks
- 12
- 最近推送(UTC)
- 2023年7月2日
- 项目状态
- 未归档
使用的依赖
依赖清单 7 项
- flutter
{"sdk":"flutter"} - cupertino_icons
^1.0.5 - flutter_svg
^2.0.7 - http
^1.1.0 - provider
^6.0.5 - flutter_test开发依赖
{"sdk":"flutter"} - flutter_lints开发依赖
^2.0.2
App 分类
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
展开 / 收起项目 README
Simple ChatGPT Flutter Version
This is a simple version of ChatGPT in Flutter, using your own API key. With this app, you can chat in app with ChatGPT. I never learned flutter before, but with ChatGPT, I created this simple version in 2 days! You can build this too!
I implemented this for fun and improving my code skills, also other flutter beginners can start with my projects to build their ideas. There may be some bugs though, bare with me. But the data structure classes are delicately written! I've learned a lot during this simple development, the biggest lesson is:
Think before you code!
| img | img | img |
Getting Started
Prerequisites
Before you start, make sure you have the following:
Flutter installed on your machine. You can follow the instructions here. An API key for the OpenAI ChatGPT language model. You can apply for an API key here.
Installation
Clone the repository to your local machine. Run the app on your device or emulator using flutter run. You will also need the Xcode to simulate the ios environment.
''' flutter run '''
Features
The app includes the following features:
- Chat with ChatGPT using the OpenAI API
- Display chat history
- Add new conversations
- Rename existing conversations
- Delete conversations
Acknowledgments
The OpenAI API for providing the language model used in the app. The Flutter framework for making it easy to build beautiful and fast mobile apps.
License
MIT License