Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Revert "Change OpenAi model to "gpt-3.5-turbo""
Browse files Browse the repository at this point in the history
This reverts commit a483de2.
  • Loading branch information
khammami committed Apr 4, 2023
1 parent 492b419 commit eacac6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ client.on('messageCreate', function(message){

(async () => {
const getResponse = await openai.createCompletion({
model: "gpt-3.5-turbo",
model: "text-davinci-003",
prompt: prompt,
temperature: 0.9,
max_tokens: 100,
Expand Down

1 comment on commit eacac6e

@khammami
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"gpt-3.5-turbo" need to change the request format so I reverted to old model for now.

Please sign in to comment.