SchnapsterDog / nuxt-chatgpt

ChatGPT integration for Nuxt 3
https://www.buymeacoffee.com/schnapsterdog
MIT License
159 stars 21 forks source link

Update chatgpt configuration, system massage had been added to chatCompletion. #21

Closed ArifYasinKavdir closed 10 months ago

ArifYasinKavdir commented 11 months ago

New models have been added including chatgpt-4-turbo, System massage have been added to chatCompletion.

ArifYasinKavdir commented 10 months ago

I am a bit novice so if the question is dumb, I am sorry :D. I have changed the version manually from package.json, if that's enough. For the formatting issue, I could not find the specific part. Where should I revert it?

SchnapsterDog commented 10 months ago

I am a bit novice so if the question is dumb, I am sorry :D. I have changed the version manually from package.json, if that's enough. For the formatting issue, I could not find the specific part. Where should I revert it?

Without worries :) There are no "dump" questions. I will do this changes and will close PR once I merged the changes on master branch.

ArifYasinKavdir commented 10 months ago

Thank's a lot!

SchnapsterDog commented 10 months ago

@ArifYasinKavdir I updated the library. Now you can use chatCompletion as you wanted. The function supports array of messages to be sent to OpenAI API. Also I updated the models that you mentioned in your PR. Everything is published in the new version 0.2.2

Thanks one more time for your idea and motivation to make this.

Will close the PR now :)