This commit is contained in:
2023-08-08 22:48:08 -06:00
parent 0dabcc7ff5
commit 4b7a04b2ac
3 changed files with 79 additions and 146 deletions

View File

@ -42,7 +42,7 @@ export class UserCommand extends Command {
: await interactionOrMessage.reply({ content: '🤔 Thinking... 🤔', fetchReply: true });
const chatCompletion = await openai.createChatCompletion({
model: 'gpt-3.5-turbo',
model: 'gpt-4',
messages: [
{
role: 'user',