Fix:Bugs fix (Reduce metadata saving steps ...) (#12095)

### What problem does this PR solve?

Fix:Bugs fix
- Configure memory and metadata (in Chinese)
- Add indexing modal
- Reduce metadata saving steps

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
chanx
2025-12-23 11:50:35 +08:00
committed by GitHub
parent 02efab7c11
commit bd4eb19393
14 changed files with 232 additions and 26 deletions

View File

@ -1,5 +1,8 @@
import { FormFieldConfig, FormFieldType } from '@/components/dynamic-form';
import { EmbeddingSelect } from '@/pages/dataset/dataset-setting/configuration/common-item';
import {
EmbeddingSelect,
LLMSelect,
} from '@/pages/dataset/dataset-setting/configuration/common-item';
import { TFunction } from 'i18next';
export enum MemoryType {
Raw = 'raw',
@ -52,6 +55,7 @@ export const createMemoryFields = (t: TFunction) =>
required: true,
type: FormFieldType.Select,
tooltip: t('memories.llmTooltip'),
render: (field) => <LLMSelect field={field} isEdit={false} />,
},
] as FormFieldConfig[];