1
This commit is contained in:
13
model/entity/ragflow_binding.go
Normal file
13
model/entity/ragflow_binding.go
Normal 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"` // 重试次数
|
||||
}
|
||||
Reference in New Issue
Block a user