fix linting
This commit is contained in:
@@ -37,7 +37,7 @@ export default function QuerySettings() {
|
|||||||
<>
|
<>
|
||||||
<Text
|
<Text
|
||||||
className="ml-1"
|
className="ml-1"
|
||||||
text={t('retrievePanel.querySettings.queryMode')}
|
text={t('retrievePanel.querySettings.queryMode')}
|
||||||
tooltip={t('retrievePanel.querySettings.queryModeTooltip')}
|
tooltip={t('retrievePanel.querySettings.queryModeTooltip')}
|
||||||
side="left"
|
side="left"
|
||||||
/>
|
/>
|
||||||
|
@@ -119,7 +119,7 @@ export default function RetrievalTesting() {
|
|||||||
<div className="flex min-h-0 flex-1 flex-col gap-2">
|
<div className="flex min-h-0 flex-1 flex-col gap-2">
|
||||||
{messages.length === 0 ? (
|
{messages.length === 0 ? (
|
||||||
<div className="text-muted-foreground flex h-full items-center justify-center text-lg">
|
<div className="text-muted-foreground flex h-full items-center justify-center text-lg">
|
||||||
{t('retrievePanel.retrieval.startPrompt')}
|
{t('retrievePanel.retrieval.startPrompt')}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
messages.map((message, idx) => (
|
messages.map((message, idx) => (
|
||||||
|
@@ -8,8 +8,8 @@
|
|||||||
"themeToggle": {
|
"themeToggle": {
|
||||||
"switchToLight": "Switch to light theme",
|
"switchToLight": "Switch to light theme",
|
||||||
"switchToDark": "Switch to dark theme"
|
"switchToDark": "Switch to dark theme"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"documentPanel": {
|
"documentPanel": {
|
||||||
"clearDocuments": {
|
"clearDocuments": {
|
||||||
"button": "Clear",
|
"button": "Clear",
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"success": "Documents cleared successfully",
|
"success": "Documents cleared successfully",
|
||||||
"failed": "Clear Documents Failed:\n{{message}}",
|
"failed": "Clear Documents Failed:\n{{message}}",
|
||||||
"error": "Clear Documents Failed:\n{{error}}"
|
"error": "Clear Documents Failed:\n{{error}}"
|
||||||
},
|
},
|
||||||
"uploadDocuments": {
|
"uploadDocuments": {
|
||||||
"button": "Upload",
|
"button": "Upload",
|
||||||
"tooltip": "Upload documents",
|
"tooltip": "Upload documents",
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
"error": "Upload Failed:\n{{name}}\n{{error}}",
|
"error": "Upload Failed:\n{{name}}\n{{error}}",
|
||||||
"generalError": "Upload Failed\n{{error}}",
|
"generalError": "Upload Failed\n{{error}}",
|
||||||
"fileTypes": "Supported types: TXT, MD, DOCX, PDF, PPTX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS"
|
"fileTypes": "Supported types: TXT, MD, DOCX, PDF, PPTX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS"
|
||||||
},
|
},
|
||||||
"documentManager": {
|
"documentManager": {
|
||||||
"title": "Document Management",
|
"title": "Document Management",
|
||||||
"scanButton": "Scan",
|
"scanButton": "Scan",
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
"maxLayoutIterations": "Max Layout Iterations",
|
"maxLayoutIterations": "Max Layout Iterations",
|
||||||
"apiKey": "API Key",
|
"apiKey": "API Key",
|
||||||
"enterYourAPIkey": "Enter your API key",
|
"enterYourAPIkey": "Enter your API key",
|
||||||
"save": "Save"
|
"save": "Save"
|
||||||
},
|
},
|
||||||
|
|
||||||
"zoomControl": {
|
"zoomControl": {
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
"fullScreenControl": {
|
"fullScreenControl": {
|
||||||
"fullScreen": "Full Screen",
|
"fullScreen": "Full Screen",
|
||||||
"windowed": "Windowed"
|
"windowed": "Windowed"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"statusIndicator": {
|
"statusIndicator": {
|
||||||
"connected": "Connected",
|
"connected": "Connected",
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
"source": "Source",
|
"source": "Source",
|
||||||
"target": "Target",
|
"target": "Target",
|
||||||
"properties": "Properties"
|
"properties": "Properties"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "Search nodes...",
|
"placeholder": "Search nodes...",
|
||||||
@@ -161,7 +161,7 @@
|
|||||||
"label": "Label",
|
"label": "Label",
|
||||||
"placeholder": "Search labels...",
|
"placeholder": "Search labels...",
|
||||||
"andOthers": "And {count} others"
|
"andOthers": "And {count} others"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"retrievePanel": {
|
"retrievePanel": {
|
||||||
"chatMessage": {
|
"chatMessage": {
|
||||||
@@ -229,6 +229,6 @@
|
|||||||
|
|
||||||
"streamResponse": "Stream Response",
|
"streamResponse": "Stream Response",
|
||||||
"streamResponseTooltip": "If True, enables streaming output for real-time responses"
|
"streamResponseTooltip": "If True, enables streaming output for real-time responses"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,8 +8,8 @@
|
|||||||
"themeToggle": {
|
"themeToggle": {
|
||||||
"switchToLight": "切换到亮色主题",
|
"switchToLight": "切换到亮色主题",
|
||||||
"switchToDark": "切换到暗色主题"
|
"switchToDark": "切换到暗色主题"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"documentPanel": {
|
"documentPanel": {
|
||||||
"clearDocuments": {
|
"clearDocuments": {
|
||||||
"button": "清除",
|
"button": "清除",
|
||||||
@@ -103,11 +103,11 @@
|
|||||||
"Force Atlas": "力导向图谱布局"
|
"Force Atlas": "力导向图谱布局"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"fullScreenControl": {
|
"fullScreenControl": {
|
||||||
"fullScreen": "全屏",
|
"fullScreen": "全屏",
|
||||||
"windowed": "窗口模式"
|
"windowed": "窗口模式"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"statusIndicator": {
|
"statusIndicator": {
|
||||||
"connected": "已连接",
|
"connected": "已连接",
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
"source": "源",
|
"source": "源",
|
||||||
"target": "目标",
|
"target": "目标",
|
||||||
"properties": "属性"
|
"properties": "属性"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "搜索节点...",
|
"placeholder": "搜索节点...",
|
||||||
@@ -161,7 +161,7 @@
|
|||||||
"label": "标签",
|
"label": "标签",
|
||||||
"placeholder": "搜索标签...",
|
"placeholder": "搜索标签...",
|
||||||
"andOthers": "以及其它 {count} 个"
|
"andOthers": "以及其它 {count} 个"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"retrievePanel": {
|
"retrievePanel": {
|
||||||
"chatMessage": {
|
"chatMessage": {
|
||||||
@@ -231,6 +231,5 @@
|
|||||||
"streamResponse": "流式响应",
|
"streamResponse": "流式响应",
|
||||||
"streamResponseTooltip": "如果为 True,则启用流式输出以获得实时响应"
|
"streamResponseTooltip": "如果为 True,则启用流式输出以获得实时响应"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user