feat: Update VLM configuration in knowledge base and API documentation

- Replaced `vlm_model_id` with a structured `vlm_config` object in knowledge base configurations, including `enabled` flag and `model_id`.
- Updated API documentation to reflect changes in VLM configuration structure.
- Enhanced frontend interfaces to accommodate new VLM configuration format.
- Improved localization for new features related to knowledge graph and multimodal capabilities.
This commit is contained in:
wizardchen
2025-11-20 20:08:24 +08:00
parent cdb5937a66
commit c1f46df0dd
23 changed files with 1063 additions and 256 deletions
+14 -1
View File
@@ -795,6 +795,10 @@ export default {
messages: {
deleted: 'База знаний удалена',
deleteFailed: 'Не удалось удалить базу знаний'
},
features: {
knowledgeGraph: 'Граф знаний включен',
multimodal: 'Мультимодальность включена'
}
},
knowledgeEditor: {
@@ -1099,7 +1103,16 @@ export default {
nullValuePlaceholder: '<NULL>',
documentTitleLabel: 'Название документа:',
chunkCountLabel: 'Количество фрагментов:',
chunkCountValue: 'Не менее {count}',
chunkCountValue: '{count} фрагментов',
documentDescriptionLabel: 'Описание:',
documentStatusLabel: 'Статус:',
documentSourceLabel: 'Источник:',
documentFileLabel: 'Файл:',
documentMetadataLabel: 'Метаданные',
documentInfoSummaryLabel: 'Информация о документах',
documentInfoCount: '{count} из {requested} документов получено',
documentInfoErrors: 'Ошибки',
documentInfoEmpty: 'Нет данных о документах',
statusDescription: 'Информация о статусе',
statusIndexed: 'Документ проиндексирован и доступен для поиска',
statusSearchable: 'Можно искать содержимое документа с помощью инструментов',