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

Gpt-3.5-turbo API #68

Closed
djx2726889 opened this issue Mar 2, 2023 · 13 comments
Closed

Gpt-3.5-turbo API #68

djx2726889 opened this issue Mar 2, 2023 · 13 comments

Comments

@djx2726889
Copy link

Hello, OpenAI just release the gpt-3.5-turbo API, can you support it?

@muzhi1991
Copy link

Request a new model

@karfly
Copy link
Collaborator

karfly commented Mar 2, 2023

Yes, guys. Working on it!

@Andy963
Copy link

Andy963 commented Mar 2, 2023

i have updated to the gpt-3.5-turbo, but i change the database to sqlite, and i'm not good at docker things, so can't pr

@karfly
Copy link
Collaborator

karfly commented Mar 2, 2023

I've just added support of ChatGPT API. Commit: 0779808

@djx2726889 @muzhi1991 @Andy963 @XGZepto @EsqerYasen @N0ne1eft @songyp0505 @rainux
Guys, it would be great if you tested it and share your feedback!

@XGZepto
Copy link

XGZepto commented Mar 2, 2023

I've just added support of ChatGPT API. Commit: 0779808

@djx2726889 @muzhi1991 @Andy963 @XGZepto @EsqerYasen @N0ne1eft @songyp0505 @rainux Guys, it would be great if you tested it and share your feedback!

hv been testing it with no issue found for now! thanks for the work!

@djx2726889
Copy link
Author

I've just added support of ChatGPT API. Commit: 0779808

@djx2726889 @muzhi1991 @Andy963 @XGZepto @EsqerYasen @N0ne1eft @songyp0505 @rainux Guys, it would be great if you tested it and share your feedback!

It seems to be working fine. Many thanks for your excellent work!

@muzhi1991
Copy link

I've just added support of ChatGPT API. Commit: 0779808

@djx2726889 @muzhi1991 @Andy963 @XGZepto @EsqerYasen @N0ne1eft @songyp0505 @rainux Guys, it would be great if you tested it and share your feedback!↳

it works perfectly when i build image from scratch

@xqa
Copy link

xqa commented Mar 4, 2023

Snipaste_2023-03-04_15-57-51
Snipaste_2023-03-04_15-56-55
Snipaste_2023-03-04_15-56-13
There is a small problem here, if I am modifying Gpt-3.5-turbo has been used before, and the n_spent_dollars calculated here is wrong

@karfly
Copy link
Collaborator

karfly commented Mar 4, 2023

@xqa
You're right, it's not correct. Anyway, I don't want to add more entity to db regarding n_used_tokens for different engines

@xqa
Copy link

xqa commented Mar 4, 2023

@xqa You're right, it's not correct. Anyway, I don't want to add more entity to db regarding n_used_tokens for different engines

The best way is to get this data through openai api instead of calculation. Now this does not affect the use

@karfly
Copy link
Collaborator

karfly commented Mar 4, 2023

Can you show, how to see spent dollars with API?

@xqa
Copy link

xqa commented Mar 4, 2023

Can you show, how to see spent dollars with API?

My fault is that I didn't express clearly, I mean if there is this API. I didn't find it either, maybe openai will add it in the future

@karfly
Copy link
Collaborator

karfly commented Mar 4, 2023

Okay, got what you meant

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

No branches or pull requests

6 participants