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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user