- update ai commands to 4000 chars

- update chat design to follow bard
This commit is contained in:
derpystuff 2023-10-11 17:07:51 +02:00
parent 8fd752b9b0
commit 3ab416a420
2 changed files with 20 additions and 18 deletions

View file

@ -32,7 +32,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- Try to keep your responses under 2000 characters. This isn\'t required for more detailed answers.'
let prompt = 'You are a friendly chat bot designed to help people.\n- You should always use gender neutral pronouns when possible.\n- Try to keep your responses within 2000-4000 characters. This isn\'t required for more detailed answers.'
if(args.prompt !== "") prompt = args.prompt
if(context.message.messageReference) {
@ -72,7 +72,7 @@ module.exports = {
if(!res.body.output) res.body.output = '[Empty Response]'
if(res.body.output.length <= 2000) description.push(res.body.output)
if(res.body.output.length <= 4000) description.push(res.body.output)
else {
files.push({
filename: `chat.${Date.now().toString(36)}.txt`,