Skip to content

Conversation

@AL-ABYADH
Copy link

@AL-ABYADH AL-ABYADH commented May 4, 2023

I noticed that the app only used the text-davinci language model and that the version of the chat_gpt_skd was too old. There, I updated the package to the last version, and I added a method to the ChatScreen class to specify the model as an argument passed to it along with the message or the prompt, and accordingly, it sends the request and receives the response. Meaning, you can choose the model to be text-davinci, gptTurbo0301, or whatever you need when calling the '_chooseModel' method. Besides, I noticed that no instructions were provided about the '.env' file, and not all Flutter devs are familiar with it, so I updated the 'Readme' file to include instructions on how to set the API key in the '.env' file.

…model, and updated the Readme file to include instructions for the .env file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant