文献校对功能 转rabbitMQ

This commit is contained in:
wyn
2026-06-02 09:57:51 +08:00
parent 94b212fe7c
commit f2294b375c
6 changed files with 250 additions and 431 deletions

View File

@@ -33,7 +33,7 @@ class LLMService
public function checkReference($contextText, $referText, $isAgain = false, $doiBlock = null)
{
// request_failed=true 表示"LLM 通讯/解析层面的失败"(可重试,区别于业务上的"未命中"
// 上游 runReferenceCheckOnce 会据此把 DB.status 置为 2(失败) 并抛异常触发队列重试
// 上游 runReferenceCheckOnce 会据此把 DB.status 置为 3(失败) 并抛异常触发 MQ worker 重试
$fallback = [
'can_support' => false,
'is_match' => false,