Files
zyt/server/config/prescription_analysis.php
T
2026-09-10 15:19:17 +08:00

23 lines
927 B
PHP

<?php
/** Async clinician-facing analysis. Enable only after migration and workers are ready. */
return [
'enabled' => filter_var(env('prescription_analysis.ENABLED', false), FILTER_VALIDATE_BOOLEAN),
'encryption_key' => (string) env('prescription_analysis.ENCRYPTION_KEY', ''),
'start_at' => (int) env('prescription_analysis.START_AT', 0),
'transcript_wait_seconds' => 300,
'debounce_seconds' => 60,
'lease_seconds' => 600,
'max_attempts' => 3,
'max_manual_retries' => 2,
'daily_model_tasks' => 200,
'daily_patient_batches' => 10,
// Concurrent tasks allowed per model. It only takes effect when that many consumer
// processes run for the lane (php think prescription-ai:work --lane=<model>).
'max_parallel_per_model' => 2,
'refresh_recent_days' => 7,
'auto_refresh_sources' => true,
'auto_refresh_prescription' => true,
'max_context_bytes' => 8000000,
];