SkillSpace/openclaw/skills/patient-roleplay/examples/schedule-config.yaml

36 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 调度配置模板
# 文件openclaw/skills/patient-roleplay/examples/schedule-config.yaml
# 每次任务模拟的患者数量
patient_count: 10
# 场景范围all / 逗号分隔的场景 ID / 场景分类
# 可选值all | acute | chronic | preventive | followup
# 或具体场景scenario-child-fever,scenario-htn-followup
scenarios: all
# 时段分布(决定请求间隔密度,模拟真实就诊习惯)
# morning: 上午 8-11 点(就诊高峰,间隔 3-8 分钟)
# afternoon: 下午 2-5 点(分散就诊,间隔 8-15 分钟)
# evening: 晚间(较少就诊,间隔 20-30 分钟)
time_slot: morning
# 定时任务 cron 表达式(可选,若设置则自动安装 crontab
# 示例含义:
# "0 9 * * 1-5" → 工作日每天上午 9:00 执行
# "0 9,15 * * *" → 每天上午 9:00 和下午 3:00 各执行一次
# "" → 不安装定时任务,仅手动触发
#
# 根据真实患者生活习惯的建议配置:
# 基层卫生院就诊高峰在上午 8:30-11:00
# 部分患者午饭后(下午 2:00-3:00就诊
# 预防接种多在上午
# 慢病随访分布全天
cron: "0 9 * * 1-5"
# 目标 AI 助手端点(环境变量覆盖优先)
# Scheduler 将此地址传递给 AI 代理的对话接口
target_ai_endpoint: "${PATIENT_ROLEPLAY_AI_ENDPOINT:-http://localhost:8080/api/chat}"
# 日志保留天数
log_retention_days: 30