mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
r2
This commit is contained in:
@ -17,3 +17,26 @@ class IndexingEstimate(BaseModel):
|
||||
total_segments: int
|
||||
preview: list[PreviewDetail]
|
||||
qa_preview: Optional[list[QAPreviewDetail]] = None
|
||||
|
||||
|
||||
class PipelineDataset(BaseModel):
|
||||
id: str
|
||||
name: str
|
||||
description: str
|
||||
chunk_structure: str
|
||||
|
||||
class PipelineDocument(BaseModel):
|
||||
id: str
|
||||
position: int
|
||||
data_source_info: dict
|
||||
name: str
|
||||
indexing_status: str
|
||||
error: str
|
||||
enabled: bool
|
||||
|
||||
|
||||
|
||||
class PipelineGenerateResponse(BaseModel):
|
||||
batch: str
|
||||
dataset: PipelineDataset
|
||||
documents: list[PipelineDocument]
|
||||
|
||||
Reference in New Issue
Block a user