triage/agent_system/disease_analyst/response_model.py
iomgaa c89d6dd1c0 重构:重命名疾病分析模块为DiseaseAnalyst
- 将文件夹从 disease_analyzer 重命名为 disease_analyst
- 统一类名:DiseaseAnalyzer → DiseaseAnalyst相关类
- 更新所有导入路径和引用关系
- 保持功能不变,提高命名一致性

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-10 21:13:19 +08:00

32 lines
1.0 KiB
Python
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.

from typing import List, Dict, Any
from pydantic import Field
from agent_system.base import BaseResponseModel
class DiseaseAnalysisResult(BaseResponseModel):
"""
疾病上下文分析结果模型
"""
disease_category: str = Field(
...,
description="疾病类别(如:神经系统疾病、心血管疾病、呼吸系统疾病等)"
)
suspected_conditions: List[str] = Field(
default_factory=list,
description="可能的疾病诊断列表"
)
onset_pattern: str = Field(
...,
description="起病模式(急性、亚急性、慢性)"
)
severity_level: str = Field(
...,
description="疾病严重程度(轻度、中度、重度)"
)
evaluation_priorities: Dict[str, List[str]] = Field(
default_factory=dict,
description="各子任务的评估重点key为子任务名称value为重点因素列表"
)
medical_reasoning: str = Field(
...,
description="医学分析推理过程"
)