简历提取 插值分析 依然使用 pro32

This commit is contained in:
zk
2026-05-29 14:33:50 +08:00
parent 471fa7ee17
commit 017426fdd1
3 changed files with 8 additions and 35 deletions
+8 -8
View File
@@ -9,9 +9,9 @@ from app.ai.models import LLM
class SkillGapModel:
"""技能差距分析模块"""
# 技能差距识别:对比简历与岗位技能标签,输出缺失技能列表
ANALYSIS = LLM.DEEPSEEK_V4_FLASH.create(temperature=0)
ANALYSIS = LLM.DOUBAO_PRO_32K.create(temperature=0)
# 个人概述优化:将缺失技能关键词融入 summary
SUMMARY = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
SUMMARY = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
# 经历描述优化:针对目标岗位优化单条经历的 description
EXPERIENCE = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
# Agent规划:解析用户自然语言指令,拆解为原子编辑操作列表
@@ -19,15 +19,15 @@ class SkillGapModel:
# Agent执行-修改:按指令修改简历中的单条记录
AGENT_EDIT = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
# Agent执行-新增:按指令生成一条新的简历记录
AGENT_ADD = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
AGENT_ADD = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
class JobAgentModel:
"""求职助手Agent模块"""
# 多轮对话:理解用户求职意图,返回结构化回复(message+tool调用)
CHAT = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.7)
CHAT = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.7)
# 岗位简历-summary优化:针对具体岗位JD优化个人概述
SUMMARY = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
SUMMARY = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
# 岗位简历-经历优化:针对具体岗位JD优化单条经历描述
EXPERIENCE = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
@@ -41,17 +41,17 @@ class NovaChatModel:
class ResumeExtractorModel:
"""简历解析模块"""
# 简历结构化提取:两阶段并行提取简历文本为JSON结构
PARSE = LLM.DEEPSEEK_V4_FLASH.create(temperature=0)
PARSE = LLM.DOUBAO_PRO_32K.create(temperature=0)
class DiagnoserModel:
"""简历诊断模块"""
# 模块诊断:逐条分析经历记录的问题(错别字/无量化/弱相关等)
MODULE = LLM.DEEPSEEK_V4_FLASH.create(temperature=0)
MODULE = LLM.DEEPSEEK_V4_FLASH.create(temperature=0)
# 整体评价:汇总所有诊断结果生成总结性评语
SUMMARY = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
# 内容润色:用户编辑后的文本做专业润色
POLISH = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
POLISH = LLM.DEEPSEEK_V4_FLASH.create(temperature=0.3)
class BrowserPlugModel: