feat: max token add tip (#525)

This commit is contained in:
zxhlyh
2023-07-06 15:57:04 +08:00
committed by GitHub
parent d143284d99
commit cde1797cc0
11 changed files with 138 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ const translation = {
maxToken: 'Max token',
maxTokenTip:
'Max tokens depending on the model. Prompt and completion share this limit. One token is roughly 1 English character.',
maxTokenSettingTip: 'Your max token setting is high, potentially limiting space for prompts, queries, and data. Consider setting it below 2/3.',
setToCurrentModelMaxTokenTip: 'Max token is updated to the maximum token of the current model 4,000.',
},
tone: {

View File

@@ -51,6 +51,7 @@ const translation = {
maxToken: '最大 Token',
maxTokenTip:
'生成的最大令牌数取决于模型。提示和完成共享令牌数限制。一个令牌约等于 1 个英文或 半个中文字符。',
maxTokenSettingTip: '您设置的最大 tokens 数较大,可能会导致 prompt、用户问题、数据集内容没有 token 空间进行处理,建议设置到 2/3 以下。',
setToCurrentModelMaxTokenTip: '最大令牌数更新为当前模型最大的令牌数 4,000。',
},
tone: {