From 1a0e8f85bdca63a27768611c122f9e8d49ed1880 Mon Sep 17 00:00:00 2001 From: big nutty <3515180-bignutty@users.noreply.gitlab.com> Date: Thu, 12 Oct 2023 11:03:55 +0000 Subject: [PATCH] provide date for LLMs --- commands/message/fun/bard.js | 2 +- commands/message/fun/chat.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/message/fun/bard.js b/commands/message/fun/bard.js index c2d6618..23e83a5 100644 --- a/commands/message/fun/bard.js +++ b/commands/message/fun/bard.js @@ -33,7 +33,7 @@ module.exports = { let input = args.text; - let prompt = 'You are a friendly chat bot designed to help people.\n- You should always use gender neutral pronouns when possible.\n- When answering a question, be concise and to the point.\n- Try to keep responses below 1000 characters. This does not apply to subjects that require more exhaustive or in-depth explanation.' + let prompt = `You are a friendly chat bot designed to help people.\n- Today\'s date is ${new Date().toUTCString().split(' ').splice(0,4).join(' ')}\n- You should always use gender neutral pronouns when possible.\n- When answering a question, be concise and to the point.\n- Try to keep responses below 1000 characters. This does not apply to subjects that require more exhaustive or in-depth explanation.` if(args.prompt !== "") prompt = args.prompt // Get content if the user replies to anything diff --git a/commands/message/fun/chat.js b/commands/message/fun/chat.js index b925a68..2af9140 100644 --- a/commands/message/fun/chat.js +++ b/commands/message/fun/chat.js @@ -45,7 +45,7 @@ module.exports = { let input = args.text; - let prompt = 'You are a friendly chat bot designed to help people. You should always use gender neutral pronouns when possible.' + let prompt = `You are a friendly chat bot designed to help people.\n- Today\'s date is ${new Date().toUTCString().split(' ').splice(0,4).join(' ')}\n- You should always use gender neutral pronouns when possible.` if(args.prompt !== "") prompt = args.prompt // Get content if the user replies to anything