mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-02 02:25:31 +08:00
### What problem does this PR solve? Feat: Translate the maxRounds field of the chat settings #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -42,9 +42,9 @@ export function DynamicVariableForm() {
|
||||
</Button>
|
||||
</div>
|
||||
<div className="flex gap-2 pr-12 text-text-secondary text-xs">
|
||||
<span className="flex-1">Key</span>
|
||||
<span className="flex-1">{t('chat.key')}</span>
|
||||
<span className="w-3"></span>
|
||||
<span className="flex-1">Optional</span>
|
||||
<span className="flex-1">{t('chat.optional')}</span>
|
||||
</div>
|
||||
<div className="space-y-5">
|
||||
{fields.map((field, index) => {
|
||||
|
||||
@ -22,6 +22,7 @@ export const useRenameChat = () => {
|
||||
name: '',
|
||||
icon: '',
|
||||
language: 'English',
|
||||
description: '',
|
||||
prompt_config: {
|
||||
empty_response: '',
|
||||
prologue: t('chat.setAnOpenerInitial'),
|
||||
@ -37,7 +38,7 @@ export const useRenameChat = () => {
|
||||
llm_id: tenantInfo.data.llm_id,
|
||||
llm_setting: {},
|
||||
similarity_threshold: 0.2,
|
||||
vector_similarity_weight: 0.30000000000000004,
|
||||
vector_similarity_weight: 0.3,
|
||||
top_n: 8,
|
||||
}),
|
||||
[t, tenantInfo.data.llm_id],
|
||||
|
||||
Reference in New Issue
Block a user