feat: manually mirror opencoze's code from bytedance
Change-Id: I09a73aadda978ad9511264a756b2ce51f5761adf
This commit is contained in:
14
backend/domain/knowledge/internal/dal/model/progress.go
Normal file
14
backend/domain/knowledge/internal/dal/model/progress.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package model
|
||||
|
||||
type SliceStatus int32
|
||||
|
||||
const (
|
||||
SliceStatusProcessing SliceStatus = 0
|
||||
SliceStatusDone SliceStatus = 1
|
||||
SliceStatusFailed SliceStatus = 2
|
||||
)
|
||||
|
||||
type SliceProgress struct {
|
||||
Status SliceStatus
|
||||
StatusMsg string
|
||||
}
|
||||
Reference in New Issue
Block a user