feat: add language support to summary generation payload

- Enhanced the SummaryGenerationPayload struct to include a Language field for better localization.
- Updated enqueueSummaryGenerationTask and ProcessSummaryGeneration methods to handle language context in summary generation tasks.
This commit is contained in:
wizardchen
2026-03-17 17:09:42 +08:00
committed by lyingbug
parent 17da967f92
commit 4e2583e58d
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -66,6 +66,7 @@ type SummaryGenerationPayload struct {
TenantID uint64 `json:"tenant_id"`
KnowledgeBaseID string `json:"knowledge_base_id"`
KnowledgeID string `json:"knowledge_id"`
Language string `json:"language,omitempty"`
}
// KBClonePayload represents the knowledge base clone task payload