From cc770e617d850345fc520967dd446da3ea98ee06 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Sun, 16 Apr 2023 14:47:04 +0200 Subject: [PATCH] fixing prompt --- llamabot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llamabot.js b/llamabot.js index b0b33d1..428b6f9 100644 --- a/llamabot.js +++ b/llamabot.js @@ -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?` }); }