Skip to content
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

How i can add gpt-3.5-turbo to the bot? #55

Closed
Zensusy opened this issue Mar 14, 2023 · 7 comments
Closed

How i can add gpt-3.5-turbo to the bot? #55

Zensusy opened this issue Mar 14, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@Zensusy
Copy link

Zensusy commented Mar 14, 2023

When I just change the engine to gpt-3.5-turbo in completion.py it just get error like this
Invalid request - This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions

@Zensusy Zensusy added the bug Something isn't working label Mar 14, 2023
@4mlsx
Copy link

4mlsx commented Mar 15, 2023

Check pull request 'use chat model'

@Festival0103
Copy link

@Amalbro07, do you know if there is a need for any other corrections besides filling in Tokens and IDs? I am not sure why it is not working for me. It successfully connects to Discord without any errors, but it does not reply to any messages (using /chat command) and remains completely silent. Unfortunately, I do not know how to properly investigate these types of issues. OpenAI token itself 100% working, as I tested it with basic code.

@4mlsx
Copy link

4mlsx commented Apr 1, 2023

@Festival0103 Did you update the bot into GPT3.5 turbo?

@Festival0103
Copy link

Festival0103 commented Apr 1, 2023

Did you update the bot into GPT3.5 turbo?

@Amalbro07 Yes I am. I've used files from pull request that you mentioned above.

@4mlsx
Copy link

4mlsx commented Apr 1, 2023

Did you update the bot into GPT3.5 turbo?

@Amalbro07 Yes I am. I've used files from pull request that you mentioned above.

Did you get any errors?

@Festival0103
Copy link

Did you get any errors?

Nah, it's saying that everything is fine and normal, and that it is connected to Discord:

2023-04-02 00:40:42 INFO     discord.client logging in using static token
2023-04-02 00:40:43 INFO     discord.gateway Shard ID None has connected to Gateway

The bot appears online in Discord but doesn't react to any messages.
My guess is that it fails to communicate with the OpenAI API, but I'm not sure what to do then.

@Kav-K
Copy link
Contributor

Kav-K commented Nov 15, 2023

Hi there, gpt-3.5-turbo is available now

@YufeiG YufeiG closed this as completed Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants