matrixgpt / matrix-chatgpt-bot

Talk to ChatGPT via any Matrix client!
GNU Affero General Public License v3.0
234 stars 63 forks source link

Will you support gpt-3.5-turbo? #120

Closed Simonmxy closed 1 year ago

Simonmxy commented 1 year ago

When I use gpt-3.5-turbo: "message": "This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?",

kitzler-walli commented 1 year ago

Simply open the directory - enter npm update and then start the chatbot and you will be able to use the new model.

Simonmxy commented 1 year ago

Thank you

Simply open the directory - enter npm update and then start the chatbot and you will be able to use the new model.

philidinator commented 1 year ago

I tried "docker-compose down && docker-compose pull && docker-compose up -d" with Docker but received the same error message. I also cloned the latest git repository and tried to build with Docker, but unfortunately it didn't work.

kitzler-walli commented 1 year ago

The commands you mentioned wont update the npm dependencies - you have to update the npm packages until the next release and then you'll be able to use the new model.

philidinator commented 1 year ago

Okay, I deleted all Docker images. Then I cloned again, performed 'npm update' (which also ran successfully), and then ran 'docker build' again, but unfortunately encountered the same error.

ich777 commented 1 year ago

No issue over here, just open up a container terminal and issue: npm update after that I had to run npm install -g npm@9.6.0 and finally I restarted the container. Keep in mind if you update the container image or something similar the changes will be wiped and you have to do everything again but I think when the maintainer updates the container everything will be in a working state and you don't have to issue the commands manually.

philidinator commented 1 year ago

Ah, it's working! Updating npm in the container. Thank you all!