mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
refactor: update dataset handling to use runtime_mode instead of pipeline_id
This commit is contained in:
@ -83,6 +83,7 @@ export type DataSet = {
|
||||
keyword_number?: number
|
||||
pipeline_id?: string
|
||||
is_published?: boolean // Indicates if the pipeline is published
|
||||
runtime_mode: 'rag_pipeline' | 'general'
|
||||
}
|
||||
|
||||
export type ExternalAPIItem = {
|
||||
|
||||
@ -167,7 +167,7 @@ export type PipelineDatasourceNodeRunRequest = {
|
||||
export type PipelineDatasourceNodeRunResponse = {
|
||||
job_id?: string
|
||||
status: 'processing' | 'completed'
|
||||
result: Record<string, any>
|
||||
result: any
|
||||
provider_type: DatasourceType
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user