[fix] better settings

This commit is contained in:
kwaroran
2023-05-29 05:20:00 +09:00
parent 8ff33ee17d
commit a11ac615fe

View File

@@ -36,13 +36,13 @@ export function setDatabase(data:Database){
data.maxContext = 4000
}
if(checkNullish(data.maxResponse)){
data.maxResponse = 300
data.maxResponse = 500
}
if(checkNullish(data.frequencyPenalty)){
data.frequencyPenalty = 30
data.frequencyPenalty = 70
}
if(checkNullish(data.PresensePenalty)){
data.PresensePenalty = 30
data.PresensePenalty = 70
}
if(checkNullish(data.aiModel)){
data.aiModel = 'gpt35'