MCPcopy Create free account
hub / github.com/53AI/53AIHub / shouldQueueKnowledgeChunkPostSave

Function shouldQueueKnowledgeChunkPostSave

api/controller/knowledge_management.go:234–236  ·  view source on GitHub ↗
(isUpdate bool, autoSplitRetrieval bool, req *SaveKnowledgeChunkRequest)

Source from the content-addressed store, hash-verified

232}
233
234func shouldQueueKnowledgeChunkPostSave(isUpdate bool, autoSplitRetrieval bool, req *SaveKnowledgeChunkRequest) bool {
235 return isUpdate || autoSplitRetrieval || len(req.Summary) > 0 || len(req.CommonQuestions) > 0 || len(req.RelatedKnowledgeIDs) > 0
236}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected