This commit is contained in:
2026-03-14 10:02:49 +08:00
parent 03b50ef904
commit 830f75a334
75 changed files with 10677 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
// Package entity - RAGFlow同步相关实体
// 功能RAGFlow同步记录话术和产品共用
package entity
// RagSyncRecord RAGFlow同步记录
// 说明租户级知识库每个客服账号独立的文档ID
type RagSyncRecord struct {
AccountName string `bson:"accountName" json:"accountName"` // 客服账号名称
RagDocumentId string `bson:"ragDocumentId" json:"ragDocumentId"` // RAGFlow文档ID租户级知识库中的文档
RagSyncStatus string `bson:"ragSyncStatus" json:"ragSyncStatus"` // 同步状态synced/pending/failed
SyncTime string `bson:"syncTime" json:"syncTime"` // 同步时间
RetryCount int `bson:"retryCount" json:"retryCount"` // 重试次数
}