18 lines
794 B
Go
18 lines
794 B
Go
package entity
|
|
|
|
import "github.com/gogf/gf/v2/os/gtime"
|
|
|
|
type Dataset struct {
|
|
Id int64 `orm:"id" json:"id"`
|
|
Name string `orm:"name" json:"name"`
|
|
Description string `orm:"description" json:"description"`
|
|
EmbeddingCfgId int64 `orm:"embedding_cfg_id" json:"embedding_cfg_id"`
|
|
ChunkSize int `orm:"chunk_size" json:"chunk_size"`
|
|
ChunkOverlap int `orm:"chunk_overlap" json:"chunk_overlap"`
|
|
UnitPattern string `orm:"unit_pattern" json:"unit_pattern"`
|
|
ContextPattern string `orm:"context_pattern" json:"context_pattern"`
|
|
Status int `orm:"status" json:"status"`
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"`
|
|
UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"`
|
|
}
|