Files
customer-server/model/entity/ragflow_binding.go

14 lines
736 B
Go
Raw Normal View History

2026-03-14 10:02:49 +08:00
// 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"` // 重试次数
}