14 lines
736 B
Go
14 lines
736 B
Go
// 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"` // 重试次数
|
||
}
|