Files
customer-server/model/entity/ragflow_binding.go
2026-03-14 10:02:49 +08:00

14 lines
736 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 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"` // 重试次数
}