Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

refactor(chunk): remove VideoInfo field from Chunk struct

wizardchencaeb6a44d84e
diff --git a/internal/types/chunk.go b/internal/types/chunk.go
index e27c331d3..d221c4043 100644
--- a/internal/types/chunk.go
+++ b/internal/types/chunk.go
@@ -156,8 +156,6 @@ type Chunk struct {
ContentHash string `json:"content_hash" gorm:"type:varchar(64);index"`
// 图片信息,存储为 JSON
ImageInfo string `json:"image_info" gorm:"type:text"`
- // 视频信息,存储为 JSON
- VideoInfo string `json:"video_info" gorm:"type:text"`
// Chunk creation time
CreatedAt time.Time `json:"created_at"`
// Chunk last update time