This commit is contained in:
Your Name
2026-10-08 15:49:53 +08:00
parent 1c9b093e08
commit 67c374d899
52 changed files with 51959 additions and 75 deletions
@@ -21,11 +21,11 @@ class DiagnosisAiLogic extends BaseLogic
/** @var string Safe machine-readable code for the current assistant request. */
private static $assistantErrorCode = 'AI_ASSISTANT_FAILED';
private const PROMPT_VERSION = 'patient-context-case-explain-v2';
private const PROMPT_VERSION = 'patient-context-case-explain-nihaixia-v3';
private const ASSISTANT_PROMPT_VERSION = 'patient-context-assistant-v2';
private const ASSISTANT_PROMPT_VERSION = 'patient-context-assistant-nihaixia-v3';
private const ANALYSIS_PROMPT_VERSION = 'patient-context-analysis-v2';
private const ANALYSIS_PROMPT_VERSION = 'patient-context-analysis-nihaixia-v3';
private const MAX_ASSISTANT_PROMPT_LENGTH = 500;