mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-11-05 16:05:57 +00:00
* feat(ai): split model management and add weight provider filters * feat(ai): streamline deployments and add local model selection
19 lines
791 B
Go
19 lines
791 B
Go
package model
|
|
|
|
type FeaturedModel struct {
|
|
BaseModel
|
|
Key string `json:"key"`
|
|
Sort int `json:"sort"`
|
|
Family string `json:"family"`
|
|
RepoID string `json:"repoID"`
|
|
WeightProvider string `json:"weightProvider"`
|
|
Sources []string `json:"sources" gorm:"serializer:json"`
|
|
SourceModelIDs map[string]string `json:"sourceModelIds" gorm:"serializer:json"`
|
|
Architecture string `json:"architecture"`
|
|
BackboneParams string `json:"backboneParams"`
|
|
ActiveParams string `json:"activeParams"`
|
|
Engram string `json:"engram"`
|
|
WeightGB float64 `json:"weightGB"`
|
|
Description string `json:"description"`
|
|
}
|