refactor: dataset creation to support pipeline datasets, update related types and hooks

This commit is contained in:
twwu
2025-05-08 09:42:02 +08:00
parent 7ce9710229
commit c240cf3bb1
4 changed files with 24 additions and 15 deletions

View File

@ -729,10 +729,6 @@ export type CreateDatasetReq = {
user_id: string
role?: 'owner' | 'admin' | 'editor' | 'normal' | 'dataset_operator'
}[]
indexing_technique?: IndexingType
retrieval_mode?: RetrievalConfig
embedding_model?: string
embedding_model_provider?: string
}
export type CreateDatasetResponse = {
@ -740,7 +736,6 @@ export type CreateDatasetResponse = {
name: string
description: string
permission: DatasetPermission
data_source_type: DataSourceType
indexing_technique: IndexingType
created_by: string
created_at: number