package public const KnowledgeLockEsKey = "rag:knowledge:lock:knowledgeIdEs-%v" const KnowledgeLockSqlKey = "rag:knowledge:lock:knowledgeIdSql-%v" const KnowledgeContentHashEsKey = "rag:knowledge:knowledgeId:contentHashEs-%v" const KnowledgeContentHashSqlKey = "rag:knowledge:knowledgeId:contentHashSql-%v" const KnowledgeDocumentChunkTopic = "knowledge:document:chunk:stream" // 请求 Stream 键名(与发消息的key一致) const ( KnowledgeDocumentVectorStatusTopic = "knowledge:document:vector:status:stream" KnowledgeDocumentVectorStatusConsumer = "knowledge-document-vector-status-consumer" KnowledgeDocumentVectorStatusBatchSize = 1 KnowledgeDocumentVectorStatusAutoAck = false )