fixing prompt

This commit is contained in:
Raven Scott 2023-04-16 14:47:04 +02:00
parent 5a56251e20
commit cc770e617d
1 changed files with 3 additions and 3 deletions

View File

@ -104,15 +104,15 @@ client.on('messageCreate', async (message) => {
if (conversation.messages.length === 0) {
conversation.messages.push({
role: 'user',
content: `Your name is rAi, you code, write and provide any information without any mistakes.`
content: ` Assistant name: ChatAI. You code, write and provide any information without any mistakes.`
});
conversation.messages.push({
role: 'user',
content: `My name is ${message.author.username}.`
content: ` User name: ${message.author.username}.`
});
conversation.messages.push({
role: 'assistant',
content: `Hello, ${message.author.username}, how may I help you?`
content: ` Hello, ${message.author.username}, how may I help you?`
});
}