模型全面切换值 ZM 模型
This commit is contained in:
@@ -119,7 +119,7 @@ async def plan_edit(job_title: str, job_description: str, resume_json: str,
|
||||
|
||||
_record_edit_chain = (
|
||||
ChatPromptTemplate.from_messages([("system", AGENT_MODULE_EDIT_PROMPT), ("human", "请执行修改。")])
|
||||
| LLM.JIAYU_CLAUDE_SONNET_4_5.create(temperature=0.3)
|
||||
| LLM.ZM_GPT_5_4_MINI.create(temperature=0.3)
|
||||
| StrOutputParser()
|
||||
)
|
||||
|
||||
@@ -144,7 +144,7 @@ async def execute_record_edit(job_title: str, job_description: str, instruction:
|
||||
|
||||
_record_add_chain = (
|
||||
ChatPromptTemplate.from_messages([("system", AGENT_MODULE_ADD_PROMPT), ("human", "请生成新记录。")])
|
||||
| LLM.JIAYU_CLAUDE_SONNET_4_5.create(temperature=0.3)
|
||||
| LLM.ZM_GPT_5_4_MINI.create(temperature=0.3)
|
||||
| StrOutputParser()
|
||||
)
|
||||
|
||||
|
||||
@@ -85,9 +85,9 @@ AGENT_PLAN_PROMPT = """你是一个简历编辑助手。你的唯一职责是根
|
||||
|
||||
操作类型:
|
||||
1. 删除记录:{{"type": "delete", "module": "模块名", "id": "记录id"}}
|
||||
2. 修改记录:{{"type": "update", "module": "模块名", "id": "记录id", "instruction": "修改说明(50字内)"}}
|
||||
3. 修改主表:{{"type": "update", "module": "resume", "instruction": "修改说明(50字内)"}}
|
||||
4. 新增记录:{{"type": "add", "module": "模块名", "instruction": "新增说明(50字内)"}}
|
||||
2. 修改记录:{{"type": "update", "module": "模块名", "id": "记录id", "instruction": "修改说明(30字内)"}}
|
||||
3. 修改主表:{{"type": "update", "module": "resume", "instruction": "修改说明(30字内)"}}
|
||||
4. 新增记录:{{"type": "add", "module": "模块名", "instruction": "新增说明(30字内)"}}
|
||||
|
||||
模块名可选:resume(主表,包含 name、email、mobileNumber、city、wechatNumber、portfolioUrl、skills、certificates、summary、avatarUrl)、education(教育)、work(工作)、internship(实习)、project(项目)、competition(竞赛)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user