feat: add APK mirror configuration and enhance chunking separator options
This commit is contained in:
+4
-1
@@ -157,4 +157,7 @@ COS_ENABLE_OLD_DOMAIN=true
|
|||||||
# ========== 文件上传大小限制 ==========
|
# ========== 文件上传大小限制 ==========
|
||||||
# 统一的文件大小限制(MB),默认为50MB
|
# 统一的文件大小限制(MB),默认为50MB
|
||||||
# 影响:单文件上传、gRPC消息大小、Nginx请求体大小
|
# 影响:单文件上传、gRPC消息大小、Nginx请求体大小
|
||||||
# MAX_FILE_SIZE_MB=50
|
# MAX_FILE_SIZE_MB=50
|
||||||
|
|
||||||
|
# APK 镜像源设置(可选)
|
||||||
|
APK_MIRROR_ARG=mirrors.tencent.com
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile.app
|
dockerfile: docker/Dockerfile.app
|
||||||
|
args:
|
||||||
|
- APK_MIRROR_ARG=${APK_MIRROR_ARG:-}
|
||||||
container_name: WeKnora-app
|
container_name: WeKnora-app
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-8080}:8080"
|
- "${APP_PORT:-8080}:8080"
|
||||||
|
|||||||
@@ -1229,7 +1229,7 @@ export default {
|
|||||||
overlapDescription: 'Number of overlapping characters between adjacent chunks (0-500)',
|
overlapDescription: 'Number of overlapping characters between adjacent chunks (0-500)',
|
||||||
separatorsLabel: 'Separators',
|
separatorsLabel: 'Separators',
|
||||||
separatorsDescription: 'Separators used when chunking documents',
|
separatorsDescription: 'Separators used when chunking documents',
|
||||||
separatorsPlaceholder: 'Select separators',
|
separatorsPlaceholder: 'Select or customize separators',
|
||||||
separators: {
|
separators: {
|
||||||
doubleNewline: 'Double newline (\
|
doubleNewline: 'Double newline (\
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -1357,7 +1357,7 @@ export default {
|
|||||||
overlapDescription: "인접 문서 청크 간의 중복 문자 수 (0-500)",
|
overlapDescription: "인접 문서 청크 간의 중복 문자 수 (0-500)",
|
||||||
separatorsLabel: "구분자",
|
separatorsLabel: "구분자",
|
||||||
separatorsDescription: "문서 청킹 시 사용되는 구분자",
|
separatorsDescription: "문서 청킹 시 사용되는 구분자",
|
||||||
separatorsPlaceholder: "구분자 선택",
|
separatorsPlaceholder: "구분자 선택 또는 사용자 정의",
|
||||||
separators: {
|
separators: {
|
||||||
doubleNewline: "이중 줄바꿈 (\\n\\n)",
|
doubleNewline: "이중 줄바꿈 (\\n\\n)",
|
||||||
singleNewline: "단일 줄바꿈 (\\n)",
|
singleNewline: "단일 줄바꿈 (\\n)",
|
||||||
|
|||||||
@@ -1171,7 +1171,7 @@ export default {
|
|||||||
overlapDescription: 'Количество перекрывающихся символов между соседними блоками (0-500)',
|
overlapDescription: 'Количество перекрывающихся символов между соседними блоками (0-500)',
|
||||||
separatorsLabel: 'Разделители',
|
separatorsLabel: 'Разделители',
|
||||||
separatorsDescription: 'Разделители, используемые при разбиении документов',
|
separatorsDescription: 'Разделители, используемые при разбиении документов',
|
||||||
separatorsPlaceholder: 'Выберите разделители',
|
separatorsPlaceholder: 'Выберите или настройте разделители',
|
||||||
separators: {
|
separators: {
|
||||||
doubleNewline: 'Двойной перевод строки (\\n\\n)',
|
doubleNewline: 'Двойной перевод строки (\\n\\n)',
|
||||||
singleNewline: 'Одинарный перевод строки (\\n)',
|
singleNewline: 'Одинарный перевод строки (\\n)',
|
||||||
|
|||||||
@@ -1582,7 +1582,7 @@ export default {
|
|||||||
overlapDescription: "相邻文档块之间的重叠字符数(0-500)",
|
overlapDescription: "相邻文档块之间的重叠字符数(0-500)",
|
||||||
separatorsLabel: "分隔符",
|
separatorsLabel: "分隔符",
|
||||||
separatorsDescription: "文档分块时使用的分隔符",
|
separatorsDescription: "文档分块时使用的分隔符",
|
||||||
separatorsPlaceholder: "选择分隔符",
|
separatorsPlaceholder: "选择或自定义分隔符",
|
||||||
separators: {
|
separators: {
|
||||||
doubleNewline: "双换行 (\\n\\n)",
|
doubleNewline: "双换行 (\\n\\n)",
|
||||||
singleNewline: "单换行 (\\n)",
|
singleNewline: "单换行 (\\n)",
|
||||||
|
|||||||
@@ -61,6 +61,8 @@
|
|||||||
v-model="localSeparators"
|
v-model="localSeparators"
|
||||||
:options="separatorOptions"
|
:options="separatorOptions"
|
||||||
multiple
|
multiple
|
||||||
|
creatable
|
||||||
|
filterable
|
||||||
:placeholder="$t('knowledgeEditor.chunking.separatorsPlaceholder')"
|
:placeholder="$t('knowledgeEditor.chunking.separatorsPlaceholder')"
|
||||||
@change="handleSeparatorsChange"
|
@change="handleSeparatorsChange"
|
||||||
style="width: 280px;"
|
style="width: 280px;"
|
||||||
|
|||||||
Reference in New Issue
Block a user