feat: gpt-4-gizmo-g-* model is supported

This commit is contained in:
RockYang
2024-01-15 15:03:05 +08:00
parent 59fa21779b
commit dc24a8c781
14 changed files with 86 additions and 31 deletions

12
api/store/model/file.go Normal file
View File

@@ -0,0 +1,12 @@
package model
import "time"
type File struct {
Id uint `gorm:"primarykey;column:id"`
UserId uint
URL string
Ext string
Size int64
CreatedAt time.Time
}

10
api/store/vo/File.go Normal file
View File

@@ -0,0 +1,10 @@
package vo
type File struct {
Id uint
UserId uint `json:"user_id"`
URL string `json:"url"`
Ext string `json:"ext"`
Size int64 `json:"size"`
CreatedAt int64 `json:"created_at"`
}