perf: 优化FAQ索引更新和删除性能

This commit is contained in:
wizardchen
2026-01-08 16:23:38 +08:00
parent 17604c9b94
commit 3f25d36c46
2 changed files with 204 additions and 21 deletions
+1
View File
@@ -37,4 +37,5 @@ type IndexInfo struct {
KnowledgeType string // Type of the knowledge (e.g., "faq", "manual")
TagID string // Tag ID for categorization (used for FAQ priority filtering)
IsEnabled bool // Whether the chunk is enabled for retrieval
IsRecommended bool // Whether the chunk is recommended
}