feat: 百科知识库存入向量
This commit is contained in:
+2
-1
@@ -7,7 +7,8 @@ import (
|
||||
|
||||
type Wiki struct {
|
||||
global.BaseModel
|
||||
IsHot int `json:"isHot" form:"isHot" gorm:"column:is_hot;comment:是否推荐植物"`
|
||||
IsHot int `json:"isHot" form:"isHot" gorm:"column:is_hot;comment:是否推荐植物"`
|
||||
IsVectorSynced int `json:"isVectorSynced" form:"isVectorSynced" gorm:"column:is_vector_synced;type:tinyint;default:0;comment:是否已同步到向量库(0否1是)"`
|
||||
//基本信息
|
||||
Name string `json:"name" form:"name" gorm:"column:name;size:50;comment:名称"`
|
||||
LatinName string `json:"latinName" form:"latinName" gorm:"size:100;column:latin_name;comment:拉丁名"`
|
||||
|
||||
Reference in New Issue
Block a user