-
Notifications
You must be signed in to change notification settings - Fork 62
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
Refactor: Use Chat Completions API #53
Conversation
💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe/Alipay. |
Thanks for the PR, but we want to refactor it to GPT3.5 (Chat Model) so users can switch to GPT4 if they want to. |
Got it. Will refactor it to use the new Chat completions API |
Updated the PR description to reflect the new changes |
@abhagsain can you please check this? I have refactored the code to use the new Chat Completions API |
Hi, @arindamlahiri Thanks |
Hi @abhagsain In the README, I have updated the pricing section and references to the default model. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ LGTM
Thanks @arindamlahiri
Fixes #52
Changes
gpt-3.5-turbo
gpt-4
top_p
param as OpenAI suggests to only alter eithertemperature
ortop_p
. Keeping both madegpt-3.5-turbo
not follow the constraints/claim #52