feat(i18n): update WeKnoraCloud integration and enhance model management

- Revised usage steps in English, Korean, Russian, and Chinese localization files for clarity on saving credentials and adding cloud models.
- Introduced a new section in WeKnoraCloudSettings.vue to display the status of cloud model integration based on credential configuration.
- Added utility functions for managing WeKnoraCloud models, including model configuration and existing model checks.
- Enhanced ModelSettings.vue to improve model management actions and confirm deletion prompts.
- Implemented logic to handle adding cloud models with success and failure notifications.
This commit is contained in:
wizardchen
2026-06-10 20:26:19 +08:00
committed by lyingbug
parent bb220db4e4
commit ad27ed134e
7 changed files with 512 additions and 33 deletions
+25 -2
View File
@@ -1035,7 +1035,7 @@ export default {
saveHint: '저장 전 서비스 연결 가능 여부를 확인하고 암호화하여 저장합니다.',
saveBtn: '자격 증명 저장',
usageTitle: '사용 가이드',
usageSteps: '1. 이 페이지에서 APPID와 APPSECRET을 입력하고 저장\n2. 모델 서비스: 모델 관리에서 Remote API 소스로 모델 추가, 공급자로 WeKnoraCloud 선택\n3. 문서 파싱: 지식 베이스 설정 → 파싱 엔진에서 해당 파일 유형에 WeKnora Cloud 엔진 선택',
usageSteps: '1. APPID / APPSECRET 저장\n2. 아래 「클라우드 모델」에서 chat, embedding, rerank, vlm 추가\n3. 문서 파싱: 지식 베이스 설정 → 파싱 엔진 → WeKnora Cloud',
fillRequired: 'APPID와 APPSECRET을 입력하세요',
saveSuccess: '자격 증명 저장 완료',
saveFailed: '자격 증명 저장 실패',
@@ -1046,6 +1046,29 @@ export default {
goToSettings: '설정으로 이동',
modelHintConfigured: 'WeKnoraCloud 자격 증명이 설정되었습니다. 지원 모델은',
modelHintDocsLink: 'API 문서',
modelsSection: {
title: '클라우드 모델',
descReady: 'WeKnora Cloud의 네 가지 표준 모델을 등록하여 대화, 검색, 재정렬, 비전에 사용합니다.',
descPending: '위에서 자격 증명을 먼저 저장한 후 여기서 모델을 추가하세요.',
statusAdded: '추가됨',
statusPending: '자격 증명 필요',
addOne: '추가',
addAllBtn: '누락 모델 모두 추가 ({count})',
addAllConfirm: '확인',
confirmAddOne: '{type} 모델 "{name}"을(를) 추가하시겠습니까?',
confirmAddAll: '누락된 클라우드 모델 {count}개를 한 번에 추가하시겠습니까?',
allReady: '네 가지 클라우드 모델이 모두 준비되었습니다',
},
addModelsSuccess: '{count}개 모델이 추가되었습니다',
addModelsPartial: '{success}개 추가, {failed}개 실패',
addModelsFailed: '모델 추가 실패',
addModelsEmbeddingFailed: 'Embedding 연결 테스트 실패, 벡터 차원을 가져올 수 없습니다',
addModelsDisplayName: {
chat: 'WeKnoraCloud 대화',
embedding: 'WeKnoraCloud Embedding',
rerank: 'WeKnoraCloud ReRank',
vllm: 'WeKnoraCloud 비전',
},
},
system: "시스템 설정",
systemConfig: "시스템 구성",
@@ -4035,7 +4058,7 @@ export default {
viewGuide: "기본 제공 모델 관리 가이드 보기",
},
builtinTag: "기본제공",
confirmDelete: "이 모델을 삭제하시겠습니까?",
confirmDelete: '모델 "{name}"을(를) 삭제하시겠습니까?',
},
// Ollama 설정
ollamaSettings: {