Skip to content

Commit

Permalink
Merge pull request #22 from noelzappy/wwebjs-fix-02
Browse files Browse the repository at this point in the history
chore: updated prompt keywords and system message
  • Loading branch information
noelzappy authored Jul 16, 2024
2 parents f694330 + a32339a commit 7f54857
Showing 1 changed file with 4 additions and 31 deletions.
35 changes: 4 additions & 31 deletions src/configs/constant.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
export const APP_NAME = 'Zappy BOT';
export const APP_NAME = 'ChatGPT BOT';
export const PREFIXES = [
'Zappy',
'ZappyBot',
'Zappy-Bot',
'Zappy Bot',
'zappy',
'zappybot',
'zappy-bot',
'zappy bot',
'gpt',
'GPT',
'gpt3',
Expand All @@ -17,29 +9,10 @@ export const PREFIXES = [
'bot',
'Bot',
'BOT',
'zappy,',
'Zappy,',
'ZAPPY,',
'zappy?',
'Zappy?',
'ZAPPY?',
'zappy!',
];
]; // Prefixes that when included in the user's input, the message will be sent to the model (GROUP CHATS ONLY)

export const REMOVABLE_PREFIXES = [
'Zappy',
'ZappyBot',
'Zappy-Bot',
'Zappy Bot',
'zappy',
'zappybot',
'zappy-bot',
'zappy bot',
'zappy,',
'Zappy,',
'ZAPPY,',
];
export const REMOVABLE_PREFIXES = ['bot']; // Prefixes that should be removed from the user's input before message is sent to the model

export const OPENAI_MODEL = 'gpt-3.5-turbo-1106';

export const DEFAULT_SYSTEM_MESSAGE = `You are WhatsApp bot developed by Wordnox.com; Answer as concisely as possible.`;
export const DEFAULT_SYSTEM_MESSAGE = `You are ChatGPT running as a WhatsApp bot developed by OpenAI; Answer as concisely as possible.`;

0 comments on commit 7f54857

Please sign in to comment.