mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-08 16:38:01 +08:00
Fix: Remove CompilationTemplateFormField from dataset setting page. (#17852)
This commit is contained in:
@@ -103,10 +103,6 @@ export const formSchema = z
|
|||||||
.optional(),
|
.optional(),
|
||||||
enable_metadata: z.boolean().optional(),
|
enable_metadata: z.boolean().optional(),
|
||||||
llm_id: z.string().optional(),
|
llm_id: z.string().optional(),
|
||||||
// Compilation template group (e.g. the "wiki" Artifacts template with
|
|
||||||
// plan=yes/no). Persisted to parser_config so the wiki build backend can
|
|
||||||
// resolve the template and honour plan (Mode A vs Mode B).
|
|
||||||
compilation_template_group_id: z.string().nullish(),
|
|
||||||
// Table parser: "auto" = all columns both, "manual" = use column role selector
|
// Table parser: "auto" = all columns both, "manual" = use column role selector
|
||||||
table_column_mode: z.enum(['auto', 'manual']).optional(),
|
table_column_mode: z.enum(['auto', 'manual']).optional(),
|
||||||
// Table parser: column name -> role (indexing | metadata | both); legacy "vectorize" -> indexing
|
// Table parser: column name -> role (indexing | metadata | both); legacy "vectorize" -> indexing
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import { AvatarUpload } from '@/components/avatar-upload';
|
import { AvatarUpload } from '@/components/avatar-upload';
|
||||||
import { CompilationTemplateFormField } from '@/components/compilation-template-form-field';
|
|
||||||
import { SelectWithSearch } from '@/components/originui/select-with-search';
|
import { SelectWithSearch } from '@/components/originui/select-with-search';
|
||||||
import PageRankFormField from '@/components/page-rank-form-field';
|
import PageRankFormField from '@/components/page-rank-form-field';
|
||||||
import { RAGFlowFormItem } from '@/components/ragflow-form';
|
import { RAGFlowFormItem } from '@/components/ragflow-form';
|
||||||
@@ -130,9 +129,6 @@ export function GeneralForm() {
|
|||||||
ownerTenantId={useKnowledgeBaseContext().knowledgeBase?.tenant_id}
|
ownerTenantId={useKnowledgeBaseContext().knowledgeBase?.tenant_id}
|
||||||
></EmbeddingModelItem>
|
></EmbeddingModelItem>
|
||||||
<PageRankFormField></PageRankFormField>
|
<PageRankFormField></PageRankFormField>
|
||||||
<CompilationTemplateFormField
|
|
||||||
horizontal={true}
|
|
||||||
></CompilationTemplateFormField>
|
|
||||||
|
|
||||||
<TagItems></TagItems>
|
<TagItems></TagItems>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user