更新
This commit is contained in:
@@ -97,6 +97,13 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
$ancientReuseRequests = [];
|
||||
$evidence = '合成患者糖尿病。只提取来源事实。';
|
||||
$extracted = DifyChatService::chat('qwen', ['analysis_stage' => 'evidence_chunk'], $evidence,
|
||||
'offline-user', [], ['knowledge_mode' => 'evidence']);
|
||||
ancientReuseExpect($extracted['ok'] && $ancientReuseRequests[0]['query'] === $evidence,
|
||||
'server-selected evidence extraction adds no clinical knowledge facts');
|
||||
ancientReuseExpect($extracted['ancient_book_sources'] === [], 'extractor does not claim book citations');
|
||||
$indexProperty->setValue(null, null);
|
||||
echo "Dify ancient-books reuse contract passed.\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user