feat: add quote item to PromptEngine (#338)

### What problem does this PR solve?

Show original text source in conversation messages

Issue link: #337

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-04-12 14:45:14 +08:00
committed by GitHub
parent f173fe6e47
commit 73285d9d07
5 changed files with 17 additions and 2 deletions

View File

@ -333,6 +333,8 @@ export default {
maxTokensMessage: 'Max Tokens is required',
maxTokensTip:
'This sets the maximum length of the models output, measured in the number of tokens (words or pieces of words).',
quote: 'Show Quote',
quoteTip: 'Should the source of the original text be displayed?',
},
setting: {
profile: 'Profile',

View File

@ -308,6 +308,8 @@ export default {
maxTokensMessage: '最大token數是必填項',
maxTokensTip:
'這設置了模型輸出的最大長度,以標記(單詞或單詞片段)的數量來衡量。',
quote: '顯示引文',
quoteTip: '是否應該顯示原文出處?',
},
setting: {
profile: '概述',

View File

@ -324,6 +324,8 @@ export default {
maxTokensMessage: '最大token数是必填项',
maxTokensTip:
'这设置了模型输出的最大长度,以标记(单词或单词片段)的数量来衡量。',
quote: '显示引文',
quoteTip: '是否应该显示原文出处?',
},
setting: {
profile: '概要',