add option Embed into webpage (#5065)

add option Embed into webpage

---------

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
so95
2025-02-18 12:41:19 +07:00
committed by GitHub
parent 84b4b38cbb
commit d6ba4bd255
4 changed files with 63 additions and 2 deletions

View File

@ -65,4 +65,15 @@ i18n
},
});
export const languageOptions = [
{ value: 'en', label: 'English' },
{ value: 'zh', label: 'Chinese' },
{ value: 'zh-TRADITIONAL', label: 'Traditional Chinese' },
{ value: 'id', label: 'Indonesian' },
{ value: 'es', label: 'Spanish' },
{ value: 'vi', label: 'Vietnamese' },
{ value: 'ja', label: 'Japanese' },
{ value: 'pt-BR', label: 'Brazilian Portuguese' },
];
export default i18n;

View File

@ -525,6 +525,8 @@ This procedure will improve precision of retrieval by adding more information to
keywordTip: `Apply LLM to analyze user's questions, extract keywords which will be emphesize during the relevance omputation.`,
languageTip:
'Allows sentence rewriting with the specified language or defaults to the latest question if not selected.',
avatarHidden: 'Hide avatar',
locale: 'Locale',
},
setting: {
profile: 'Profile',