feat: 为 FAQ 和标签引入 seq_id 支持

This commit is contained in:
wizardchen
2026-01-12 14:30:37 +08:00
parent 2e9793db8e
commit 14d7d3d995
21 changed files with 716 additions and 250 deletions
+1
View File
@@ -15,6 +15,7 @@ import (
// Chunks are the basic units of storage and indexing in the knowledge base
type Chunk struct {
ID string `json:"id"` // Unique identifier of the chunk
SeqID int64 `json:"seq_id"` // Auto-increment integer ID for external API usage
KnowledgeID string `json:"knowledge_id"` // Identifier of the parent knowledge
KnowledgeBaseID string `json:"knowledge_base_id"` // ID of the knowledge base
TenantID uint64 `json:"tenant_id"` // Tenant ID