Refactor(setting-model): Refactor the model management interface and optimize the component structure. #10703 (#10905)

### What problem does this PR solve?

Refactor(setting-model): Refactor the model management interface and
optimize the component structure. #10703

### Type of change

- [x] Refactoring
This commit is contained in:
chanx
2025-10-31 09:27:30 +08:00
committed by GitHub
parent ff2365b146
commit 5a830ea68b
11 changed files with 1191 additions and 338 deletions

View File

@ -680,6 +680,8 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
tocEnhanceTip: ` During the parsing of the document, table of contents information was generated (see the 'Enable Table of Contents Extraction' option in the General method). This allows the large model to return table of contents items relevant to the user's query, thereby using these items to retrieve related chunks and apply weighting to these chunks during the sorting process. This approach is derived from mimicking the behavioral logic of how humans search for knowledge in books.`,
},
setting: {
search: 'Search',
availableModels: 'Available models',
profile: 'Profile',
avatar: 'Avatar',
avatarTip: 'This will be displayed on your profile.',
@ -693,7 +695,7 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
passwordDescription:
'Please enter your current password to change your password.',
model: 'Model providers',
modelDescription: 'Configure model parameters and API KEY here.',
systemModelDescription: 'Please complete these settings before beginning',
team: 'Team',
system: 'System',
logout: 'Log out',
@ -726,7 +728,7 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
cancel: 'Cancel',
addedModels: 'Added models',
modelsToBeAdded: 'Models to be added',
addTheModel: 'Add Model',
addTheModel: 'Add',
apiKey: 'API-Key',
apiKeyMessage:
'Please enter the API key (for locally deployed model,ignore this).',
@ -742,21 +744,20 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
tongyiBaseUrlPlaceholder: '(International users only, please see tip)',
modify: 'Modify',
systemModelSettings: 'Set default models',
chatModel: 'Chat model',
chatModelTip:
'The default chat model for each newly created knowledge base.',
embeddingModel: 'Embedding model',
chatModel: 'LLM',
chatModelTip: 'The default LLM for each newly created knowledge base.',
embeddingModel: 'Embedding',
embeddingModelTip:
'The default embedding model for each newly created knowledge base. If you cannot find an embedding model from the dropdown, check if you are using RAGFlow slim edition (which does not include embedding models) or check https://ragflow.io/docs/dev/supported_models to see if your model provider supports this model.',
img2txtModel: 'Img2txt model',
img2txtModel: 'VLM',
img2txtModelTip:
'The default img2txt model for each newly created knowledge base. It describes a picture or video. If you cannot find a model from the dropdown, check https://ragflow.io/docs/dev/supported_models to see if your model provider supports this model.',
sequence2txtModel: 'Speech2txt model',
'The default VLM for each newly created knowledge base. It describes a picture or video. If you cannot find a model from the dropdown, check https://ragflow.io/docs/dev/supported_models to see if your model provider supports this model.',
sequence2txtModel: 'ASR',
sequence2txtModelTip:
'The default ASR model for each newly created knowledgebase. Use this model to translate voices to corresponding text.',
rerankModel: 'Rerank model',
rerankModel: 'Rerank',
rerankModelTip: `The default rerank model for reranking chunks. If you cannot find a model from the dropdown, check https://ragflow.io/docs/dev/supported_models to see if your model provider supports this model.`,
ttsModel: 'TTS Model',
ttsModel: 'TTS',
ttsModelTip:
'The default text-to-speech model. If you cannot find a model from the dropdown, check https://ragflow.io/docs/dev/supported_models to see if your model provider supports this model.',
workspace: 'Workspace',