chore: finalize backend feature scope
This commit is contained in:
@@ -9,11 +9,11 @@ from app.models.training import SessionOrder, TrainingSession
|
||||
|
||||
|
||||
class HintAgent:
|
||||
"""新手提示 Agent:基于病例、对话和检查结果调用快速模型生成结构化提示。"""
|
||||
"""练习提示 Agent:基于病例、对话和检查结果调用快速模型生成结构化提示。"""
|
||||
|
||||
def __init__(self, llm: DeepSeekClient | None = None) -> None:
|
||||
self.llm = llm or DeepSeekClient()
|
||||
self.template_path = Path(__file__).resolve().parents[1] / "prompts" / "hint" / "novice_case_hint.md"
|
||||
self.template_path = Path(__file__).resolve().parents[1] / "prompts" / "hint" / "practice_case_hint.md"
|
||||
|
||||
async def generate(
|
||||
self,
|
||||
@@ -85,7 +85,7 @@ class HintAgent:
|
||||
}
|
||||
|
||||
def _load_template(self) -> str:
|
||||
"""提示词读取:加载新手模式病例提示模板。"""
|
||||
"""提示词读取:加载练习模式病例提示模板。"""
|
||||
if self.template_path.exists():
|
||||
return self.template_path.read_text(encoding="utf-8")
|
||||
return "你是医疗问诊训练提示 Agent,只输出合法 JSON。"
|
||||
|
||||
Reference in New Issue
Block a user