Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Minor fix: correct PrecessRule typo (#25346)

Yongtao Huangcdfdf324e81b
diff --git a/web/models/datasets.ts b/web/models/datasets.ts
index bc00bf3f787..4546f2869c2 100644
--- a/web/models/datasets.ts
+++ b/web/models/datasets.ts
@@ -391,11 +391,6 @@ export type createDocumentResponse = {
documents: InitialDocumentDetail[]
}
-export type PrecessRule = {
- mode: ProcessMode
- rules: Rules
-}
-
export type FullDocumentDetail = SimpleDocumentDetail & {
batch: string
created_api_request_id: string
@@ -418,7 +413,7 @@ export type FullDocumentDetail = SimpleDocumentDetail & {
doc_type?: DocType | null | 'others'
doc_metadata?: DocMetadata | null
segment_count: number
- dataset_process_rule: PrecessRule
+ dataset_process_rule: ProcessRule
document_process_rule: ProcessRule
[key: string]: any
}