feat(dify): 把本地控制台的中文与去外链改动入库
这些界面改动和专家服务草稿停在工作区,没有随上一笔主分支提交进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
9c7c80e194
commit
c2cb845a32
211 files changed
+3030
-2794
No files matched your search
+1
-12
@@ -26,7 +26,6 @@ import {
|
||||
} from '@/app/components/datasets/common/multimodal-retrieval-guidance'
|
||||
import RetrievalMethodConfig from '@/app/components/datasets/common/retrieval-method-config'
|
||||
import { ModelSelector } from '@/app/components/header/account-setting/model-provider-page/model-selector'
|
||||
import { useDocLink } from '@/context/i18n'
|
||||
import { ChunkingMode } from '@/models/datasets'
|
||||
import Link from '@/next/link'
|
||||
import { indexMethodIcon } from '../../icons'
|
||||
@@ -74,9 +73,7 @@ export const IndexingModeSection: FC<IndexingModeSectionProps> = ({
|
||||
onQAConfirmDialogConfirm,
|
||||
}) => {
|
||||
const { t } = useTranslation(['datasetCreation', 'datasetSettings'])
|
||||
const docLink = useDocLink()
|
||||
|
||||
const getIndexingTechnique = () => indexType
|
||||
const getIndexingTechnique = () => indexType
|
||||
const economicalDisabledReason = (() => {
|
||||
if (docForm === ChunkingMode.qa)
|
||||
return t(($) => $['stepTwo.notAvailableForQA'], { ns: 'datasetCreation' })
|
||||
@@ -234,14 +231,6 @@ export const IndexingModeSection: FC<IndexingModeSectionProps> = ({
|
||||
{t(($) => $['form.retrievalSetting.title'], { ns: 'datasetSettings' })}
|
||||
</h2>
|
||||
<div className="body-xs-regular text-text-tertiary">
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href={docLink('/use-dify/knowledge/create-knowledge/setting-indexing-methods')}
|
||||
className="text-text-accent"
|
||||
>
|
||||
{t(($) => $['form.retrievalSetting.learnMore'], { ns: 'datasetSettings' })}
|
||||
</a>
|
||||
{t(($) => $['form.retrievalSetting.longDescription'], { ns: 'datasetSettings' })}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user