-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on first run #1
Comments
Hi @markNZed, thanks for raise the issue! |
Thanks. The error message from Flutter does not seem very helpful, is that typical in Flutter ? Is it hard to debug code in Flutter? I noticed you are using text-davinci-003 so please be aware that is you add the gpt-3.5-turbo model then you need to use the openai.ChatCompletion as per https://platform.openai.com/docs/guides/chat/introduction and this changes the structures of the response too (compared to textCompletion). |
@markNZed I'm published version 0.0.4 with add the gpt-3.5-turbo and fix decode response from api... If any more errors are found, please let me know 🦁 |
Hi, I ran into this: ''' Could we use an environment variable for the OPENAI_API_KEY ? |
For people who want to try your project and are not familiar with Flutter, it would help to have more detailed install instructions. I did this: flutter pub get |
@markNZed Example only dart not include UI, you should run dart main.dart instead of flutter run -d chrome |
Sorry, I'm not sure to understand, there is an image of a UI in the readme, is that not actually part of this package? |
because I don't have enough times for write complete example app so I bring Askany app to README for demo video. Currently Askany has error occur, I'll update fix patch in tomorrow...and I'll deploy web example for people who want to try this package. You can download and use Askany in store: Android: https://play.google.com/store/apps/details?id=com.askany |
Thanks. I'm mainly interested in the web interface at the moment. I've been looking into https://github.com/YaokunLin/chatbot-react-client which has a separate client and server. |
Hi, I get as far as:
I have not used Flutter before so it may be something obvious. I ran the following in the example directory
flutter run -d chrome
The text was updated successfully, but these errors were encountered: