asyncwebio / strapi-chatgpt

Integrate ChatGPT into your Strapi application. You get both a UI to interact with ChatGPT and an API end-points to integrate into your applications.
MIT License
18 stars 5 forks source link

Adding a current model (gpt-3.5-turbo) still gives error #11

Open onexdata opened 9 months ago

onexdata commented 9 months ago

When I update the plugin to use an existing model, it gives this error...

error: This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?

...suggesting maybe the whole API has been updated since this plugin was written.

theCompanyDream commented 6 months ago

I actually took the plugin and amke the changes needed to make it functional while adding a bunch of other features. This plugin uses chatgpt4 and chatgpt4o.

https://github.com/theCompanyDream/strapi-supergpt