feat: enhance multimodal support and image handling
- Updated configuration to improve handling of multimodal queries, including clearer guidelines for when to use [NO_SEARCH] in responses. - Enhanced the user interface to include dedicated sections for multimodal configuration, allowing users to manage image uploads and related settings more effectively. - Added localization support for new multimodal features in both English and Chinese, improving accessibility for a broader audience. - Implemented backend changes to support image analysis and extraction of OCR text, enriching the interaction experience for users. These enhancements significantly improve the application's capability to process and respond to multimodal queries, fostering a more interactive and user-friendly environment.
This commit is contained in:
@@ -1409,6 +1409,7 @@ export default {
|
||||
advanced: 'Advanced Settings',
|
||||
faq: 'FAQ Settings',
|
||||
graph: 'Knowledge Graph',
|
||||
multimodal: 'Multimodal',
|
||||
share: 'Sharing'
|
||||
},
|
||||
basic: {
|
||||
@@ -1610,9 +1611,13 @@ export default {
|
||||
childChunkSizeLabel: 'Child Chunk Size',
|
||||
childChunkSizeDescription: 'Size of child chunks used for embedding matching (64-1024)'
|
||||
},
|
||||
multimodal: {
|
||||
title: 'Multimodal Configuration',
|
||||
description: 'Configure multimodal content understanding for parsing and retrieving non-text content like images',
|
||||
},
|
||||
advanced: {
|
||||
title: 'Advanced Settings',
|
||||
description: 'Configure question generation, multimodal features',
|
||||
description: 'Configure question generation and other advanced features',
|
||||
questionGeneration: {
|
||||
label: 'AI Question Generation',
|
||||
description: 'Generate related questions for each chunk using LLM during document parsing to improve retrieval recall. Enabling this will increase document parsing time.',
|
||||
@@ -3252,6 +3257,9 @@ export default {
|
||||
selectPlaceholder: 'Select MCP services',
|
||||
},
|
||||
imageUpload: {
|
||||
navLabel: 'Multimodal',
|
||||
sectionTitle: 'Multimodal Configuration',
|
||||
sectionDesc: 'Configure image upload and vision-language model for multimodal conversations',
|
||||
label: 'Image Upload',
|
||||
desc: 'Allow users to upload images for multimodal Q&A in conversations',
|
||||
vlmModel: 'VLM Model',
|
||||
|
||||
@@ -1872,6 +1872,7 @@ export default {
|
||||
advanced: "高级设置",
|
||||
faq: "FAQ 设置",
|
||||
graph: "知识图谱",
|
||||
multimodal: "多模态",
|
||||
share: "共享管理",
|
||||
},
|
||||
basic: {
|
||||
@@ -2070,9 +2071,13 @@ export default {
|
||||
childChunkSizeLabel: "子块大小",
|
||||
childChunkSizeDescription: "用于向量匹配的子块字符数(64-1024)",
|
||||
},
|
||||
multimodal: {
|
||||
title: "多模态配置",
|
||||
description: "配置多模态内容理解能力,启用后支持图片等非文本内容的解析和检索",
|
||||
},
|
||||
advanced: {
|
||||
title: "高级设置",
|
||||
description: "配置问题生成、多模态等高级功能",
|
||||
description: "配置问题生成等高级功能",
|
||||
questionGeneration: {
|
||||
label: "AI 问题生成",
|
||||
description: "解析文档时调用大模型为每个分块生成相关问题,提高检索召回率。启用后会增加文档解析耗时。",
|
||||
@@ -3250,6 +3255,9 @@ export default {
|
||||
selectPlaceholder: "选择 MCP 服务",
|
||||
},
|
||||
imageUpload: {
|
||||
navLabel: "多模态",
|
||||
sectionTitle: "多模态配置",
|
||||
sectionDesc: "配置图片上传和视觉语言模型,启用后用户可在对话中上传图片",
|
||||
label: "图片上传",
|
||||
desc: "启用后用户可在对话中上传图片进行多模态问答",
|
||||
vlmModel: "VLM 模型",
|
||||
|
||||
Reference in New Issue
Block a user