Added word limit to chat bot.
This commit is contained in:
@@ -28,6 +28,7 @@ module.exports = {
|
||||
'mash',
|
||||
'trivia',
|
||||
'letters',
|
||||
// 'numbers',
|
||||
'hunt',
|
||||
'8ball',
|
||||
'geo',
|
||||
@@ -72,9 +73,11 @@ module.exports = {
|
||||
'gpt-4',
|
||||
],
|
||||
model: 'gpt-3.5-turbo',
|
||||
replyTokenLimit: 1000,
|
||||
userTokenLimit: 20000, // daily, roughly 100+ messages or $0.04 per user
|
||||
userTokenPeriod: 24, // hours
|
||||
replyTokenLimit: 1000,
|
||||
replyWordLimit: 100,
|
||||
replyWordLimitPublic: true,
|
||||
temperature: 1,
|
||||
history: 2,
|
||||
rule: 'a tired game host',
|
||||
|
||||
Reference in New Issue
Block a user